public
Created

Posh-Hg and Posh-Git working together

  • Download Gist
profile.ps1
PowerShell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
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`$ "
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.