Created
August 16, 2013 17:48
-
-
Save haacked/6251969 to your computer and use it in GitHub Desktop.
My Microsoft.Powershell_profile.ps1 profile script.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$dir = (Split-Path -Path $MyInvocation.MyCommand.Definition -Parent) | |
Push-Location $dir | |
. (Resolve-Path "$dir\vs2010.ps1") | |
# . "Bradwils\profile.ps1" | |
$env:path += ";" + (Get-Item "Env:ProgramFiles(x86)").Value + "\Git\bin" | |
# Set up GitHub environment | |
Write-Host "Setting up GitHub Environment" | |
. (Resolve-Path "$env:LOCALAPPDATA\GitHub\shell.ps1") | |
Write-Host "Setting up Posh-Git" | |
. (Resolve-Path "$env:github_posh_git\profile.example.ps1") | |
Pop-Location |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You have Git installed standalone in addition to the one you ship with GH4W? The only substantial difference with mine is that I do this after loading
shell.ps1
: