[zsh]feat: more readable vcs prompt

branch is redder
state: white -> grey
This commit is contained in:
David JULIEN 2021-10-21 23:50:50 +02:00
parent b4e4587647
commit 114058ab24

View File

@ -6,7 +6,7 @@ setopt prompt_subst
zstyle ':vcs_info:git:*' check-for-changes true
zstyle ':vcs_info:git:*' stagedstr '*'
zstyle ':vcs_info:git:*' unstagedstr '!'
zstyle ':vcs_info:git:*' formats '(%F{208}%b%F{015}: %c/%u%F{015}) '
zstyle ':vcs_info:git:*' formats '(%F{202}%b%F{007}: %c/%u%F{007}) '
zstyle ':vcs_info:*' enable git
PROMPT="[ %{$fg[cyan]%}%n\