mirror of
https://github.com/notwa/rc
synced 2025-02-05 07:43:22 -08:00
set color for sabotage host
This commit is contained in:
parent
1e389e2d6f
commit
d4edd77f5e
1 changed files with 4 additions and 3 deletions
|
@ -159,9 +159,10 @@ fi
|
|||
# note: zsh adds a % symbol to newline-less output, so bash prompt is overkill
|
||||
function {
|
||||
local good='green'
|
||||
[[ "$host" == "neobanshee" ]] && good='cyan'
|
||||
[[ "$host" == "spectre" ]] && good='white'
|
||||
[[ "$host" == "wraith" ]] && good='yellow'
|
||||
[[ "$host" == neobanshee ]] && good='cyan'
|
||||
[[ "$host" == spectre ]] && good='white'
|
||||
[[ "$host" == wraith ]] && good='yellow'
|
||||
[[ "$host" == sabotage ]] && good='magenta'
|
||||
PROMPT='%{'$'\e''[10m%}%b%(?.%K{'"$good"'}.%K{red})%15F%#%f%k '
|
||||
RPROMPT='%8F%h%b'
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue