diff --git a/.config/zsh/include/theme b/.config/zsh/include/theme index 909b307..6dcd99b 100644 --- a/.config/zsh/include/theme +++ b/.config/zsh/include/theme @@ -15,7 +15,7 @@ zstyle ':vcs_info:*' enable git [ $(git rev-parse --is-inside-work-tree 2> /dev/null) = 'true' ] || return 0 # git status ahead - [ $(git status --porcelain -b | grep '^## [^ ]\+ .*ahead') ] && \ + [ ! "$(git status --porcelain -b | grep '^## [^ ]\+ .*ahead')" = "" ] && \ hook_com[unstaged]+='%F{1}⇡%f' # git untracked