More color fixes: background colors set appropriately, and fix the
silly window-shrinking bug. (Cause unknown.)
This commit is contained in:
parent
c23c4f7f20
commit
a68b177143
2 changed files with 98 additions and 65 deletions
|
|
@ -33,9 +33,9 @@ function prompt
|
|||
# solarized colors.
|
||||
#
|
||||
$cdelim = [ConsoleColor]::DarkCyan
|
||||
$chost = [ConsoleColor]::Green
|
||||
$cloc = $csym = [ConsoleColor]::Cyan
|
||||
if (-not $ok) { $csym = [ConsoleColor]::Red; }
|
||||
$chost = [ConsoleColor]::DarkGreen
|
||||
$cloc = $csym = [ConsoleColor]::DarkCyan
|
||||
if (-not $ok) { $csym = [ConsoleColor]::DarkRed; }
|
||||
|
||||
write-host "$([char]0x0A7) " -n -f $csym
|
||||
write-host ([net.dns]::GetHostName()) -n -f $chost
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue