zsh conditional prompt

This commit is contained in:
Simonas Narbutas
2018-07-11 14:19:27 +02:00
parent d33ba8c07e
commit ce917370b6

View File

@@ -35,7 +35,7 @@ SAVEHIST=100000
ttyctl -f
## 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{46}≫ %f$(git_super_status)%F{28}\$imon say$%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)%F{28} %f '
## Set a nice remote prompt
YELLOW="\[\033[38;5;3m\]"