1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-05 04:39:03 -08:00

new prompt color for new computer

This commit is contained in:
Connor Olding 2015-04-06 17:10:48 -07:00
parent 6a6075d6a8
commit cb4c66c568

View file

@ -132,8 +132,12 @@ if [[ "$TERM" = xterm* ]]; then
fi fi
# note: zsh adds a % symbol to newline-less output, so bash prompt is overkill # note: zsh adds a % symbol to newline-less output, so bash prompt is overkill
PROMPT='%{'$'\e''[10m%}%b%(?.%K{green}.%K{red})%15F%#%f%k ' function {
local good='green'
[[ "$HOST" == "banshee" ]] && good='cyan'
PROMPT='%{'$'\e''[10m%}%b%(?.%K{'"$good"'}.%K{red})%15F%#%f%k '
RPROMPT='%8F%h%b' RPROMPT='%8F%h%b'
}
reload() { reload() {
# This doesn't seem to help with _vim_files errors, ehh # This doesn't seem to help with _vim_files errors, ehh