change prompt git

This commit is contained in:
TheK4n 2022-02-11 10:49:57 +03:00
parent bb33e0f37f
commit 073f7e651c

View File

@ -45,9 +45,9 @@ zstyle ':vcs_info:git*+set-message:*' hooks git-untracked
precmd() { vcs_info } precmd() { vcs_info }
zstyle ':vcs_info:*' actionformats \ zstyle ':vcs_info:*' actionformats \
'-%F{5}[%F{2}%b%F{3}|%F{1}%a%F{5}]-%F{5}(%F{3}%u%c%F{5})%F{3}%f ' '-%F{5}(%F{2}%b%F{3}|%F{1}%a%F{5})-%F{5}]%F{3}%u%c%F{5}]%F{3}%f '
zstyle ':vcs_info:*' formats \ zstyle ':vcs_info:*' formats \
'%F{5}[%F{2}%b%F{5}]-%F{5}(%F{3}%u%c%F{5})%F{3}%f ' '%F{5}(%F{2}%b%F{5})-%F{5}[%F{3}%u%c%F{5}]%F{3}%f '
zstyle ':vcs_info:(sv[nk]|bzr):*' branchformat '%b%F{1}:%F{3}%r' zstyle ':vcs_info:(sv[nk]|bzr):*' branchformat '%b%F{1}:%F{3}%r'