diff options
author | Ben Hilburn <bhilburn@gmail.com> | 2015-08-02 01:10:50 +0300 |
---|---|---|
committer | Ben Hilburn <bhilburn@gmail.com> | 2015-08-02 01:10:50 +0300 |
commit | 6925e35cb8d6c4db40a3aa6127c284684779d42c (patch) | |
tree | b1a8b29cdebfd4fadf665f10adda50197f4ff789 /powerlevel9k.zsh-theme | |
parent | c044ae78a5776359717014298b31fa82d1591bf7 (diff) | |
parent | bb3fbb793c552dafeafcc4e6b48eeb8bd14e842d (diff) |
Merge branch 'dritter/dritter/minimize_dependencies' into `next`
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rw-r--r-- | powerlevel9k.zsh-theme | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index 9a71278a..8cc2d570 100644 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -369,7 +369,7 @@ prompt_vcs() { function +vi-git-untracked() { if [[ $(git rev-parse --is-inside-work-tree 2> /dev/null) == 'true' && \ - ${$(git ls-files --others --exclude-standard | sed q | wc -l)// /} != 0 ]]; then + -n $(git ls-files --others --exclude-standard | sed q) ]]; then hook_com[unstaged]+=" %F{$VCS_FOREGROUND_COLOR}$VCS_UNTRACKED_ICON%f" fi } |