Fixing default and error colors for PSReadLine

This commit is contained in:
Alex Jordan committed 2016-08-02 00:16:54 -07:00
1 parent ae67cc4676
commit e2846379b8
3 files changed
+12 -26

No files matched your search

+2 -1
View File
@@ -1489,9 +1489,10 @@ function script:Use-MSBuild {
function script:log([string]$message) {
Write-Host -Foreground Green $message
#reset colors for older package to at return to default after error message on a compiliation error
[console]::ResetColor()
}
function script:precheck([string]$command, [string]$missedMessage) {
$c = Get-Command $command -ErrorAction SilentlyContinue
if (-not $c) {