diff options
author | Matt Traynham <mtraynham@tivo.com> | 2016-10-19 16:35:23 +0300 |
---|---|---|
committer | Matt Traynham <mtraynham@tivo.com> | 2016-10-19 16:35:23 +0300 |
commit | bddbdd62e841d6e008e95fe2f0909d5b32e623a8 (patch) | |
tree | 50ae5b8914eea15b896f48ff34ba46520b5c9ad0 | |
parent | c4fdc8f70804fea6f543e6bbf3964301e2537e36 (diff) |
Fix '+vi-svn-detect-changes:local:1: not valid in this context'
-rw-r--r-- | functions/vcs.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/vcs.zsh b/functions/vcs.zsh index 9418df81..a0aa2b6c 100644 --- a/functions/vcs.zsh +++ b/functions/vcs.zsh @@ -125,7 +125,7 @@ function +vi-vcs-detect-changes() { } function +vi-svn-detect-changes() { - local svn_status=$(svn status) + local svn_status="$(svn status)" if [[ -n "$(echo "$svn_status" | grep \^\?)" ]]; then hook_com[unstaged]+=" $(print_icon 'VCS_UNTRACKED_ICON')" VCS_WORKDIR_HALF_DIRTY=true |