File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 3
3
$Host.UI.RawUI.ForegroundColor = " White"
4
4
Write-Host
5
5
Write-Host $pwd.ProviderPath - NoNewLine - ForegroundColor Green
6
- if (Get-GitStatus ){
6
+ if ($gitStatus ){
7
7
checkGit($pwd.ProviderPath )
8
8
}
9
9
$global :LASTEXITCODE = $realLASTEXITCODE
Original file line number Diff line number Diff line change 4
4
$Path = $pwd.ProviderPath
5
5
Write-Host
6
6
Write-Host " $Path " - NoNewLine - ForegroundColor Black - BackgroundColor White
7
- if (Get-GitStatus ){
7
+ if ($gitStatus ){
8
8
checkGit($Path )
9
9
}
10
10
if ( $realCommandStatus -eq $True ) {
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ function global:prompt {
14
14
Write-Host " $env: USERNAME " - NoNewLine - ForegroundColor Magenta
15
15
Write-Host " @" - NoNewLine - ForegroundColor Yellow
16
16
Write-Host " $Path " - NoNewLine - ForegroundColor Green
17
- if (Get-GitStatus ){
17
+ if ($gitStatus ){
18
18
checkGit($Path )
19
19
}
20
20
Write-Host " `n >" - NoNewLine - ForegroundColor $EXIT
You can’t perform that action at this time.
0 commit comments