PSGitPrompt.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
function Set-PromptSetting {
    [Alias("Set-PromptSettings")]
    [CmdletBinding()]
    param(
        [string]$AfterChangesText = "]:",
        [PoshCode.Pansies.RgbColor]$AfterChangesForeground,
        [PoshCode.Pansies.RgbColor]$AfterChangesBackground,

        [string]$AfterNoChangesText = "]:",
        [PoshCode.Pansies.RgbColor]$AfterNoChangesForeground,
        [PoshCode.Pansies.RgbColor]$AfterNoChangesBackground,

        [string]$AheadByText = '▲',
        [PoshCode.Pansies.RgbColor]$AheadByForeground,
        [PoshCode.Pansies.RgbColor]$AheadByBackground,

        [string]$BehindByText = '▼',
        [PoshCode.Pansies.RgbColor]$BehindByForeground,
        [PoshCode.Pansies.RgbColor]$BehindByBackground,

        [string]$BeforeText = "[",
        [PoshCode.Pansies.RgbColor]$BeforeForeground,
        [PoshCode.Pansies.RgbColor]$BeforeBackground,

        [string]$BranchText = $([char]0x03BB),
        [PoshCode.Pansies.RgbColor]$BranchForeground,
        [PoshCode.Pansies.RgbColor]$BranchBackground,

        [string]$BeforeChangesText = '',
        [PoshCode.Pansies.RgbColor]$BeforeChangesForeground,
        [PoshCode.Pansies.RgbColor]$BeforeChangesBackground,

        [string]$SeparatorText = '|',
        [PoshCode.Pansies.RgbColor]$SeparatorForeground,
        [PoshCode.Pansies.RgbColor]$SeparatorBackground,

        [PoshCode.Pansies.RgbColor]$StagedChangesForeground,
        [PoshCode.Pansies.RgbColor]$StagedChangesBackground,

        [PoshCode.Pansies.RgbColor]$UnStagedChangesForeground,
        [PoshCode.Pansies.RgbColor]$UnStagedChangesBackground,

        [string]$NoStatusText = ':',
        [PoshCode.Pansies.RgbColor]$NoStatusForeground,
        [PoshCode.Pansies.RgbColor]$NoStatusBackground,

        [PoshCode.Pansies.RgbColor]$IndexForeground,
        [PoshCode.Pansies.RgbColor]$IndexBackground,

        [PoshCode.Pansies.RgbColor]$WorkingForeground,
        [PoshCode.Pansies.RgbColor]$WorkingBackground,

        [Switch]$HideZero
    )

    $config = Import-Configuration
    switch($PSBoundParameters.Keys) {
        "AfterChangesText" { $config.AfterChanges.Object = $PSBoundParameters[$_] }
        "AfterChangesBackground" { $config.AfterChanges.Background = $PSBoundParameters[$_] }
        "AfterChangesForeground" { $config.AfterChanges.Foreground = $PSBoundParameters[$_] }

        "AfterNoChangesText" { $config.AfterNoChanges.Object = $PSBoundParameters[$_] }
        "AfterNoChangesBackground" { $config.AfterNoChanges.Background = $PSBoundParameters[$_] }
        "AfterNoChangesForeground" { $config.AfterNoChanges.Foreground = $PSBoundParameters[$_] }

        "AheadByText" { $config.AheadBy.Object = $PSBoundParameters[$_] }
        "AheadByBackground" { $config.AheadBy.Background = $PSBoundParameters[$_] }
        "AheadByForeground" { $config.AheadBy.Foreground = $PSBoundParameters[$_] }

        "BeforeText" { $config.Before.Object = $PSBoundParameters[$_] }
        "BeforeBackground" { $config.Before.Background = $PSBoundParameters[$_] }
        "BeforeForeground" { $config.Before.Foreground = $PSBoundParameters[$_] }

        "BeforeChangesText" { $config.BeforeChanges.Object = $PSBoundParameters[$_] }
        "BeforeChangesBackground" { $config.BeforeChanges.Background = $PSBoundParameters[$_] }
        "BeforeChangesForeground" { $config.BeforeChanges.Foreground = $PSBoundParameters[$_] }

        "BehindByText" { $config.BehindBy.Object = $PSBoundParameters[$_] }
        "BehindByBackground" { $config.BehindBy.Background = $PSBoundParameters[$_] }
        "BehindByForeground" { $config.BehindBy.Foreground = $PSBoundParameters[$_] }

        "BranchText" { $config.Branch.Object = $PSBoundParameters[$_] }
        "BranchBackground" { $config.Branch.Background = $PSBoundParameters[$_] }
        "BranchForeground" { $config.Branch.Foreground = $PSBoundParameters[$_] }

        "SeparatorText" { $Config.Separator.Object = $PSBoundParameters[$_] }
        "SeparatorBackground" { $Config.Separator.Background = $PSBoundParameters[$_] }
        "SeparatorForeground" { $Config.Separator.Foreground = $PSBoundParameters[$_] }

        "StagedChangesBackground" { $config.StagedChanges.Background = $PSBoundParameters[$_] }
        "StagedChangesForeground" { $config.StagedChanges.Foreground = $PSBoundParameters[$_] }

        "UnStagedChangesBackground" { $config.UnStagedChanges.Background = $PSBoundParameters[$_] }
        "UnStagedChangesForeground" { $config.UnStagedChanges.Foreground = $PSBoundParameters[$_] }

        "NoStatusText" { $config.NoStatus.Text = $PSBoundParameters[$_] }
        "NoStatusForeground" { $config.NoStatus.Foreground = $PSBoundParameters[$_] }
        "NoStatusBackground" { $config.NoStatus.Background = $PSBoundParameters[$_] }

        "IndexForeground" { $config.Index.Foreground = $PSBoundParameters[$_] }
        "IndexBackground" { $config.Index.Background = $PSBoundParameters[$_] }

        "WorkingForeground" { $config.Working.Foreground = $PSBoundParameters[$_] }
        "WorkingBackground" { $config.Working.Background = $PSBoundParameters[$_] }

        "HideZero" { $Config.HideZero = [bool]$HideZero }
    }

    # function Clear-Config {
    # [CmdletBinding()]
    # param(
    # [AllowNull()][AllowEmptyString()]
    # [Parameter(ValueFromPipelineByPropertyName)]
    # [String]$Text,

    # [AllowNull()][AllowEmptyString()]
    # [Parameter(ValueFromPipelineByPropertyName)]
    # [PoshCode.Pansies.RgbColor]$Foreground,

    # [AllowNull()][AllowEmptyString()]
    # [Parameter(ValueFromPipelineByPropertyName)]
    # [PoshCode.Pansies.RgbColor]$Background
    # )
    # $Properties = @{} + $PSBoundParameters
    # foreach($key in @($Properties.Keys)) {
    # if($Properties.$key -eq "" -or $Properties.$Key -eq $Null) {
    # $null = $Properties.Remove($Key)
    # }
    # }
    # [PSCustomObject]$Properties
    # }

    # foreach($section in "AfterChanges","AfterNoChanges","AheadBy","Before","BeforeChanges","BehindBy","Branch","Separator","StagedChanges","UnStagedChanges","NoStatus","Index","Working") {
    # $config.$section = $config.$section | Clear-Config
    # }

    Export-Configuration $config
}

function Write-Text {
    [CmdletBinding()]
    param(
        [Parameter(ValueFromPipelineByPropertyName=$true, Position=0)]
        [Alias("Content","text")]
        $Object,

        [Parameter(ValueFromPipelineByPropertyName=$true)]
        [Alias("fg","Foreground")]
        $ForegroundColor,

        [Parameter(ValueFromPipelineByPropertyName=$true)]
        [Alias("bg","Background")]
        $BackgroundColor
    )
    process {
        $Parameters = @{} + $PSBoundParameters
        $Null = $PSBoundParameters.GetEnumerator() | Where Value -eq $null | % { $Parameters.Remove($_.Key) }
        # Write-Debug ($Parameters | Out-String)
        Write-Host -NoNewLine @Parameters
    }
}

function Write-Status {
    [CmdletBinding()]
    param (
        $Status,
        $Config
    )
    end {
        if(!$Status) { $Status = Get-Status -WarningAction SilentlyContinue}
        if(!$Config) { $Config = Import-Configuration }

        if($Status -and $Config) {
            $config.Before | Write-Text
            $config.Branch | Write-Text
            $config.Branch | Write-Text ($Status.Branch + " ")
            if($Status.AheadBy -gt 0) {
                $config.AheadBy | Write-Text
                $config.AheadBy | Write-Text ($Status.AheadBy + " ")
            }
            if($Status.BehindBy -gt 0) {
                $config.BehindBy | Write-Text
                $config.BehindBy | Write-Text ($Status.BehindBy + " ")
            }

            $StagedChanges = @($Status.Changes | Where { $_.Staged })
            $UnStagedChanges = @($Status.Changes | Where { !$_.Staged })

            if(($StagedChanges.Length -gt 0 -or $UnStagedChanges.Length -gt 0) -and $config.BeforeChanges.Object) {
                $config.BeforeChanges | Write-Text
            }

            if(0 -ne $StagedChanges.Length) {
                $count = @($StagedChanges | Where { $_.Change -eq "Added" }).Length
                if(0 -lt $count -or !$config.HideZero) {
                    $config.StagedChanges | Write-Text "+$count "
                }
                $count = @($StagedChanges | Where { $_.Change -eq "Modified" }).Length
                if(0 -lt $count -or !$config.HideZero) {
                    $config.StagedChanges | Write-Text "~$count "
                }
                $count = @($StagedChanges | Where { $_.Change -eq "Removed" }).Length
                if(0 -lt $count -or !$config.HideZero) {
                    $config.StagedChanges | Write-Text "-$count "
                }
                $count = @($StagedChanges | Where { $_.Change -eq "Renamed" }).Length
                if(0 -lt $count -or !$config.HideZero) {
                    $config.StagedChanges | Write-Text "%$count "
                }
            }

            if(($StagedChanges.Length -gt 0 -and $UnStagedChanges.Length -gt 0) -and $config.Separator.Object) {
                $config.Separator | Write-Text
            }

            if(0 -ne $UnStagedChanges.Length) {
                $count = @($UnStagedChanges | Where { $_.Change -eq "Added" }).Length
                if(0 -lt $count -or !$config.HideZero) {
                    $config.UnStagedChanges | Write-Text "+$count "
                }
                $count = @($UnStagedChanges | Where { $_.Change -eq "Modified" }).Length
                if(0 -lt $count -or !$config.HideZero) {
                    $config.UnStagedChanges | Write-Text "~$count "
                }
                $count = @($UnStagedChanges | Where { $_.Change -eq "Removed" }).Length
                if(0 -lt $count -or !$config.HideZero) {
                    $config.UnStagedChanges | Write-Text "-$count "
                }
                $count = @($UnStagedChanges | Where { $_.Change -eq "Renamed" }).Length
                if(0 -lt $count -or !$config.HideZero) {
                    $config.UnStagedChanges | Write-Text "%$count "
                }
            }

            if(($StagedChanges.Length -gt 0 -or $UnStagedChanges.Length -gt 0) -and $config.AfterChanges.Object) {
                $config.AfterChanges | Write-Text
            }
            if(($StagedChanges.Length -eq 0 -and $UnStagedChanges.Length -eq 0) -and $config.AfterNoChanges.Object) {
                $config.AfterNoChanges | Write-Text
            }

        } else {
            $config.NoStatus | Write-Text
        }
    }
}

# This stuff leaks out on purpose
if(!(Test-Path Variable:Global:VcsPromptStatuses)) {
    $Global:VcsPromptStatuses = @()
}

function Global:Write-VcsStatus { $Global:VcsPromptStatuses | foreach { & $_ } }

# Add scriptblock that will execute for Write-VcsStatus
$Global:VcsPromptStatuses = @($Global:VcsPromptStatuses) + @({
    $WarningPreference, $WP = "SilentlyContinue", $WarningPreference
    Write-Status
    $WarningPreference = $WP
})

# but we don't want any duplicate hooks (if people import the module twice)
$Global:VcsPromptStatuses = @( $Global:VcsPromptStatuses | Select -Unique )

# SIG # Begin signature block
# MIIXzgYJKoZIhvcNAQcCoIIXvzCCF7sCAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
# gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR
# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQUzoX6cngRgAjY8GTP7v47nzVv
# JhugghMBMIID7jCCA1egAwIBAgIQfpPr+3zGTlnqS5p31Ab8OzANBgkqhkiG9w0B
# AQUFADCBizELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTEUMBIG
# A1UEBxMLRHVyYmFudmlsbGUxDzANBgNVBAoTBlRoYXd0ZTEdMBsGA1UECxMUVGhh
# d3RlIENlcnRpZmljYXRpb24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