1
0
Fork 0
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:
Connor Olding 2015-06-19 12:47:39 -07:00
parent 578c8d6b88
commit 462d9a104d

View file

@ -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'
}