fix prompt logic

This commit is contained in:
Simonas Narbutas
2018-07-11 16:40:52 +02:00
parent db336dfd0a
commit a2a2f96cd5

View File

@@ -35,7 +35,8 @@ SAVEHIST=100000
ttyctl -f ttyctl -f
## Set a nice prompt ## Set a nice prompt
PROMPT='%F{red}[%F{blue}%*%F{red}]%f %F{yellow}bosman%f %F{magenta}[%f%B%F{magenta}%1~%f%b%F{magenta}]%f %(!.%F{196}.%F{46})≫ %f$(git_super_status)%F{28} %f ' PROMPT='%F{red}[%F{blue}%*%F{red}]%f %F{yellow}bosman%f %F{magenta}[%f%B%F{magenta}%1~%f%b%F{magenta}]%f %(!.%F{196}.%F{46})≫ %f%(!..$(git_super_status)) '
RPROMPT=$'%F{cyan}%*%f'
## Set a nice remote prompt ## Set a nice remote prompt
YELLOW="\[\033[38;5;3m\]" YELLOW="\[\033[38;5;3m\]"