make unknown color white for all shells

This commit is contained in:
dgames 2021-05-30 08:41:40 -04:00
parent a41fad80d5
commit 4fab4cc6e4
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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