summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorBen Hilburn <bhilburn@gmail.com>2016-02-26 17:53:59 +0300
committerBen Hilburn <bhilburn@gmail.com>2016-02-26 17:53:59 +0300
commitb3fae488934fef856805a9012f08fb4146764aa6 (patch)
tree5448ff41748b48091ae1fd25df2916297f66eb06 /functions
parent5d31763a8eab213cdcf59d76283b34e75fd93d4d (diff)
parentcb5d33affb4fb223ec29f6dfb89ff8b0bb6e9133 (diff)
Merge pull request #220 from dritter/rename_vcs_default_state
Rename vcs default state
Diffstat (limited to 'functions')
-rw-r--r--functions/vcs.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/vcs.zsh b/functions/vcs.zsh
index 9baccd24..9d3883ca 100644
--- a/functions/vcs.zsh
+++ b/functions/vcs.zsh
@@ -17,7 +17,7 @@ function +vi-git-untracked() {
fi
if [[ $(git rev-parse --is-inside-work-tree 2> /dev/null) == 'true' && \
- -n $(git status ${FLAGS} | grep -E '^??' 2> /dev/null | tail -n1) ]]; then
+ -n $(git status ${FLAGS} | grep -E '^\?\?' 2> /dev/null | tail -n1) ]]; then
hook_com[unstaged]+=" $(print_icon 'VCS_UNTRACKED_ICON')"
VCS_WORKDIR_HALF_DIRTY=true
else