diff --git a/lib/cmd/which.ps1 b/lib/cmd/which.ps1 index 5ef77998..e5a50893 100644 --- a/lib/cmd/which.ps1 +++ b/lib/cmd/which.ps1 @@ -17,7 +17,7 @@ if("$path" -like "$abs_shimdir*") { $shimtext = gc $path $shimtext | sls '(?m)^\$path = ''([^'']+)''' | % { $_.matches[0].groups[1].value } } else { - warn "(non-scoop) $path" -f yellow -nonewline + warn "(non-scoop) $path" -f darkyellow -nonewline exit 1 } diff --git a/lib/core.ps1 b/lib/core.ps1 index 2a33647e..aa50b83d 100644 --- a/lib/core.ps1 +++ b/lib/core.ps1 @@ -10,9 +10,9 @@ function format($str, $hash) { } # messages -function abort($msg) { write-host $msg -b darkred -f white; exit 1 } -function warn($msg) { write-host $msg -f yellow; } -function success($msg) { write-host $msg -b green -f black; } +function abort($msg) { write-host $msg -f darkred; exit 1 } +function warn($msg) { write-host $msg -f darkyellow; } +function success($msg) { write-host $msg -f darkgreen } # apps function appdir($app) { "$scoopdir\apps\$app" } diff --git a/lib/install.ps1 b/lib/install.ps1 index c9e04e8a..7b6db626 100644 --- a/lib/install.ps1 +++ b/lib/install.ps1 @@ -112,7 +112,7 @@ function run($exe, $arg, $msg, $continue_exit_codes) { write-host "exit code was $($proc.exitcode)"; return $false } } catch { - write-host -f red $_.exception.tostring() + write-host -f darkred $_.exception.tostring() return $false } write-host "done" diff --git a/tests/vimrc.ps1 b/tests/vimrc.ps1 index 246e7041..da7f3aa0 100644 --- a/tests/vimrc.ps1 +++ b/tests/vimrc.ps1 @@ -15,7 +15,7 @@ $append = "set shell=powershell.exe" $append | out-file $dst -append -encoding ascii if((gc $dst)[-1] -eq $append) { - write-host "ok" -f green + write-host "ok" -f darkgreen } else { - write-host ((gc $dst) | select -last 3) -f red + write-host ((gc $dst) | select -last 3) -f darkred }