Create a gist now

Instantly share code, notes, and snippets.

Posh-Hg and Posh-Git working together
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