1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-06-17 05:33:06 -07:00

Merge branch 'master' of github.com:notwa/rc

This commit is contained in:
Connor Olding 2017-05-19 18:04:12 -07:00
commit c8c129bf22

View File

@ -150,9 +150,10 @@ fi
# note: zsh adds a % symbol to newline-less output, so bash prompt is overkill
function {
local good='green'
[[ "${(L)HOST}" == "banshee" ]] && good='cyan'
[[ "${(L)HOST}" == "spectre" ]] && good='white'
[[ "${(L)HOST}" == "wraith" ]] && good='yellow'
local host="${(L)HOST}"
[[ "$host" == "neobanshee" ]] && good='cyan'
[[ "$host" == "spectre" ]] && good='white'
[[ "$host" == "wraith" ]] && good='yellow'
PROMPT='%{'$'\e''[10m%}%b%(?.%K{'"$good"'}.%K{red})%15F%#%f%k '
RPROMPT='%8F%h%b'
}