summaryrefslogtreecommitdiff
path: root/functions/vcs.zsh
diff options
context:
space:
mode:
authorBen Hilburn <bhilburn@deepsig.io>2017-12-14 23:20:02 +0300
committerBen Hilburn <bhilburn@deepsig.io>2017-12-14 23:20:02 +0300
commitea05b4ebe612c37cad47aa7acdfa88769bf50087 (patch)
treef68a5fb274a631a8163748f8ec36161092eda993 /functions/vcs.zsh
parent40b500cda265e400760a1d17b14d2805abcacfb2 (diff)
parentc50eb9cdda0992d7f717fe5ffaea8812ea5146f9 (diff)
Merge branch 'master' into next
Diffstat (limited to 'functions/vcs.zsh')
-rw-r--r--functions/vcs.zsh8
1 files changed, 4 insertions, 4 deletions
diff --git a/functions/vcs.zsh b/functions/vcs.zsh
index d80bca8e..e2e9f3a3 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
@@ -139,15 +139,15 @@ function +vi-vcs-detect-changes() {
function +vi-svn-detect-changes() {
local svn_status="$(svn status)"
- if [[ -n "$(echo "$svn_status" | grep \^\?)" ]]; then
+ if [[ -n "$(echo "$svn_status" | \grep \^\?)" ]]; then
hook_com[unstaged]+=" $(print_icon 'VCS_UNTRACKED_ICON')"
VCS_WORKDIR_HALF_DIRTY=true
fi
- if [[ -n "$(echo "$svn_status" | grep \^\M)" ]]; then
+ if [[ -n "$(echo "$svn_status" | \grep \^\M)" ]]; then
hook_com[unstaged]+=" $(print_icon 'VCS_UNSTAGED_ICON')"
VCS_WORKDIR_DIRTY=true
fi
- if [[ -n "$(echo "$svn_status" | grep \^\A)" ]]; then
+ if [[ -n "$(echo "$svn_status" | \grep \^\A)" ]]; then
hook_com[staged]+=" $(print_icon 'VCS_STAGED_ICON')"
VCS_WORKDIR_DIRTY=true
fi