Skip to content

Commit 711fe28

Browse files
authored
Merge pull request #2648 from daxgames/fix_posh_colors
Fix posh colors
2 parents ea01454 + 7cc1c77 commit 711fe28

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

vendor/psmodules/Cmder.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ function Configure-Git($gitRoot, $gitType, $gitPathUser){
8383
if ($gitType -eq 'VENDOR') {
8484
# If User Git is installed replace its path config with Newer Vendored Git Path
8585
if ($gitPathUser -ne '' -and $gitPathUser -ne $null) {
86-
write-host -foregroundcolor yellow "Cmder 'profile.ps1': Replacing older user Git path '$gitPathUser' with newer vendored Git path '$gitRoot' in the system path..."
86+
# write-host "Cmder 'profile.ps1': Replacing older user Git path '$gitPathUser' with newer vendored Git path '$gitRoot' in the system path..."
8787

8888
$newPath = ($env:path -ireplace [regex]::Escape($gitPathUser), $gitRoot)
8989
} else {
@@ -115,7 +115,6 @@ function Configure-Git($gitRoot, $gitType, $gitPathUser){
115115
}
116116

117117
function Import-Git(){
118-
119118
$GitModule = Get-Module -Name Posh-Git -ListAvailable
120119
if($GitModule | select version | where version -le ([version]"0.6.1.20160330")){
121120
Import-Module Posh-Git > $null

0 commit comments

Comments
 (0)