Created
June 15, 2012 16:15
-
-
Save chaliy/2937341 to your computer and use it in GitHub Desktop.
Posh-Hg and Posh-Git working together
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
Import-Module posh-hg | |
Import-Module posh-git | |
Enable-GitColors | |
Start-SshAgent -Quiet | |
function Prompt { | |
$Host.UI.RawUI.ForegroundColor = $GitPromptSettings.DefaultForegroundColor | |
Write-Host($pwd) -nonewline | |
Write-VcsStatus | |
">`n`$ " | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment