mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 09:49:12 +08:00
yellow to white
This commit is contained in:
parent
ea0145448c
commit
f0c4e85ac8
2
vendor/psmodules/Cmder.ps1
vendored
2
vendor/psmodules/Cmder.ps1
vendored
@ -83,7 +83,7 @@ function Configure-Git($gitRoot, $gitType, $gitPathUser){
|
|||||||
if ($gitType -eq 'VENDOR') {
|
if ($gitType -eq 'VENDOR') {
|
||||||
# If User Git is installed replace its path config with Newer Vendored Git Path
|
# If User Git is installed replace its path config with Newer Vendored Git Path
|
||||||
if ($gitPathUser -ne '' -and $gitPathUser -ne $null) {
|
if ($gitPathUser -ne '' -and $gitPathUser -ne $null) {
|
||||||
write-host -foregroundcolor yellow "Cmder 'profile.ps1': Replacing older user Git path '$gitPathUser' with newer vendored Git path '$gitRoot' in the system path..."
|
write-host "Cmder 'profile.ps1': Replacing older user Git path '$gitPathUser' with newer vendored Git path '$gitRoot' in the system path..."
|
||||||
|
|
||||||
$newPath = ($env:path -ireplace [regex]::Escape($gitPathUser), $gitRoot)
|
$newPath = ($env:path -ireplace [regex]::Escape($gitPathUser), $gitRoot)
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user