mirror of
https://github.com/notwa/rc
synced 2025-02-05 07:43:22 -08:00
another hostname another color
This commit is contained in:
parent
578c8d6b88
commit
462d9a104d
1 changed files with 1 additions and 0 deletions
|
@ -137,6 +137,7 @@ fi
|
||||||
function {
|
function {
|
||||||
local good='green'
|
local good='green'
|
||||||
[[ "$HOST" == "banshee" ]] && good='cyan'
|
[[ "$HOST" == "banshee" ]] && good='cyan'
|
||||||
|
[[ "$HOST" == "spectre" ]] && good='white'
|
||||||
PROMPT='%{'$'\e''[10m%}%b%(?.%K{'"$good"'}.%K{red})%15F%#%f%k '
|
PROMPT='%{'$'\e''[10m%}%b%(?.%K{'"$good"'}.%K{red})%15F%#%f%k '
|
||||||
RPROMPT='%8F%h%b'
|
RPROMPT='%8F%h%b'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue