Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
22 lines (15 sloc) 0.591 kb
Push-Location (Split-Path -Path $MyInvocation.MyCommand.Definition -Parent)
# Load posh-hg module from current directory
Import-Module .\posh-hg
# If module is installed in a default location ($env:PSModulePath),
# use this instead (see about_Modules for more information):
# Import-Module posh-hg
# Set up a simple prompt, adding the hg prompt parts inside hg repos
function prompt {
$realLASTEXITCODE = $LASTEXITCODE
Write-Host($pwd.ProviderPath) -nonewline
Write-VcsStatus
$global:LASTEXITCODE = $realLASTEXITCODE
return "> "
}
Pop-Location
Jump to Line
Something went wrong with that request. Please try again.