mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 09:49:12 +08:00
make unknown color white for all shells
This commit is contained in:
parent
a41fad80d5
commit
4fab4cc6e4
2
vendor/git-prompt.sh
vendored
2
vendor/git-prompt.sh
vendored
@ -61,7 +61,7 @@ else
|
||||
PS1="$PS1"'\[\033[36m\]' # change color to cyan
|
||||
PS1="$PS1"'`__git_ps1`' # bash function
|
||||
else
|
||||
PS1="$PS1"'\[\033[30;1m\]' # change color to gray
|
||||
PS1="$PS1"'\[\033[37;1m\]' # change color to white
|
||||
PS1="$PS1"'`getSimpleGitBranch`'
|
||||
fi
|
||||
fi
|
||||
|
2
vendor/psmodules/Cmder.ps1
vendored
2
vendor/psmodules/Cmder.ps1
vendored
@ -43,7 +43,7 @@ function checkGit($Path) {
|
||||
} else {
|
||||
$branchName = "HEAD detached at $($headContent.Substring(0, 7))"
|
||||
}
|
||||
Write-Host " [$branchName]" -NoNewline -ForegroundColor DarkGray
|
||||
Write-Host " [$branchName]" -NoNewline -ForegroundColor White
|
||||
}
|
||||
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user