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:
commit
c8c129bf22
|
@ -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'
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user