This repository has been archived by the owner on Jul 15, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 43
/
Settings.ps1
68 lines (60 loc) · 2.83 KB
/
Settings.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
$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 = ' ^'
}