mirror of
https://github.com/notwa/rc
synced 2024-11-05 01:29:05 -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 {
|
||||
local good='green'
|
||||
[[ "$HOST" == "banshee" ]] && good='cyan'
|
||||
[[ "$HOST" == "spectre" ]] && good='white'
|
||||
PROMPT='%{'$'\e''[10m%}%b%(?.%K{'"$good"'}.%K{red})%15F%#%f%k '
|
||||
RPROMPT='%8F%h%b'
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue