1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-05-20 02:43:23 -07: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
# 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 '
RPROMPT='%8F%h%b'
function {
local good='green'
[[ "$HOST" == "banshee" ]] && good='cyan'
PROMPT='%{'$'\e''[10m%}%b%(?.%K{'"$good"'}.%K{red})%15F%#%f%k '
RPROMPT='%8F%h%b'
}
reload() {
# This doesn't seem to help with _vim_files errors, ehh