mirror of
https://github.com/notwa/rc
synced 2024-06-29 02:17:12 -07:00
another hostname another color
This commit is contained in:
parent
578c8d6b88
commit
462d9a104d
|
@ -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…
Reference in New Issue
Block a user