mirror of
https://github.com/notwa/rc
synced 2024-11-05 02:29:06 -08:00
new prompt color for new computer
This commit is contained in:
parent
6a6075d6a8
commit
cb4c66c568
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue