Skip to content

Instantly share code, notes, and snippets.

@kujotx
Created October 31, 2019 13:55
Show Gist options
  • Save kujotx/7d718cc938a90d28fd05aedec3330d79 to your computer and use it in GitHub Desktop.
Save kujotx/7d718cc938a90d28fd05aedec3330d79 to your computer and use it in GitHub Desktop.
Windows PowerShell Profile
# Set up Posh Git
Import-Module 'C:\tools\poshgit\dahlbyk-posh-git-9bda399\src\posh-git.psd1'
# Set up SSH
Start-SshAgent
# Alias PSake
if (-not(Test-Path alias:psake)) {
Set-Alias -Name psake -Value Invoke-Psake
}
# Alias Visual Studio 2019
if (-not(Test-Path alias:vs)) {
Set-Alias -Name vs -Value "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\devenv.exe"
}
# Load Jump-Location profile
Import-Module 'C:\Program Files\WindowsPowerShell\Modules\Jump.Location\0.6.0\Jump.Location.psd1'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment