Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
69 lines (60 sloc) 2.83 KB
$global:PoshHgSettings = New-Object PSObject -Property @{
#Retreival settings
GetFileStatus = $true
GetBookmarkStatus = $true
#Before prompt
BeforeText = ' ['
BeforeForegroundColor = [ConsoleColor]::Yellow
BeforeBackgroundColor = $Host.UI.RawUI.BackgroundColor
#After prompt
AfterText = ']'
AfterForegroundColor = [ConsoleColor]::Yellow
AfterBackgroundColor = $Host.UI.RawUI.BackgroundColor
# Current branch
BranchForegroundColor = [ConsoleColor]::Cyan
BranchBackgroundColor = $Host.UI.RawUI.BackgroundColor
# Current branch when not updated
Branch2ForegroundColor = [ConsoleColor]::Red
Branch2BackgroundColor = $host.UI.RawUI.BackgroundColor
# Current branch when there are multiple heads
Branch3ForegroundColor = [ConsoleColor]::Magenta
Branch3BackgroundColor = $host.UI.RawUI.BackgroundColor
# Working directory status
AddedForegroundColor = [ConsoleColor]::Green
AddedBackgroundColor = $Host.UI.RawUI.BackgroundColor
ModifiedForegroundColor = [ConsoleColor]::Blue
ModifiedBackgroundColor = $Host.UI.RawUI.BackgroundColor
DeletedForegroundColor = [ConsoleColor]::Red
DeletedBackgroundColor = $Host.UI.RawUI.BackgroundColor
UntrackedForegroundColor = [ConsoleColor]::Magenta
UntrackedBackgroundColor = $Host.UI.RawUI.BackgroundColor
MissingForegroundColor = [ConsoleColor]::Cyan
MissingBackgroundColor = $Host.UI.RawUI.BackgroundColor
RenamedForegroundColor = [ConsoleColor]::Yellow
RenamedBackgroundColor = $Host.UI.RawUI.BackgroundColor
#Tag list
ShowTags = $true
BeforeTagText = ' '
TagForegroundColor = [ConsoleColor]::DarkGray
TagBackgroundColor = $Host.UI.RawUI.BackgroundColor
TagSeparator = ", "
TagSeparatorColor = [ConsoleColor]::White
# MQ Integration
ShowPatches = $false
BeforePatchText = ' patches: '
UnappliedPatchForegroundColor = [ConsoleColor]::DarkGray
UnappliedPatchBackgroundColor = $Host.UI.RawUI.BackgroundColor
AppliedPatchForegroundColor = [ConsoleColor]::DarkYellow
AppliedPatchBackgroundColor = $Host.UI.RawUI.BackgroundColor
PatchSeparator = ' › '
PatchSeparatorColor = [ConsoleColor]::White
# Current revision
ShowRevision = $true
# Status Count Prefixes for prompt
AddedStatusPrefix = ' +'
ModifiedStatusPrefix = ' ~'
DeletedStatusPrefix = ' -'
UntrackedStatusPrefix = ' ?'
MissingStatusPrefix = ' !'
RenamedStatusPrefix = ' ^'
}