From 86efd575f745c32c8149ebd067a4d996b4ceff5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20P=C5=82azie=C5=84ski?= Date: Fri, 27 Oct 2017 23:31:59 +0200 Subject: [PATCH] Correctly show unstaged and staged changes --- zshrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/zshrc b/zshrc index d7ef254..c3ebcf7 100644 --- a/zshrc +++ b/zshrc @@ -342,10 +342,10 @@ zstyle ':vcs_info:*' branchformat '%b' zstyle ':vcs_info:hg*' unstagedstr "$CHANGES_CHARACTER" zstyle ':vcs_info:hg*' hgrevformat "%r" # default "%r:%h" -zstyle ':vcs_info:git*' formats "$BRANCH_CHARACTER%b %u" # git is standard -zstyle ':vcs_info:git*' actionformats "$BRANCH_CHARACTER%b %u [%a]" -zstyle ':vcs_info:git*' unstagedstr "$UNSTAGED_CHARACTER" -zstyle ':vcs_info:git*' stagedstr "$CHANGES_CHARACTER" +zstyle ':vcs_info:git*' formats "$BRANCH_CHARACTER%b%u%c" # git is standard +zstyle ':vcs_info:git*' actionformats "$BRANCH_CHARACTER%b%u%c [%a]" +zstyle ':vcs_info:git*' unstagedstr " $UNSTAGED_CHARACTER" +zstyle ':vcs_info:git*' stagedstr " $CHANGES_CHARACTER" #---------------------------------- Screen ------------------------------------