aboutsummaryrefslogtreecommitdiff
path: root/functions/vcs.zsh
diff options
context:
space:
mode:
authorMatt Traynham <mtraynham@tivo.com>2016-10-19 16:35:23 +0300
committerMatt Traynham <mtraynham@tivo.com>2016-10-19 16:35:23 +0300
commitbddbdd62e841d6e008e95fe2f0909d5b32e623a8 (patch)
tree50ae5b8914eea15b896f48ff34ba46520b5c9ad0 /functions/vcs.zsh
parentc4fdc8f70804fea6f543e6bbf3964301e2537e36 (diff)
Fix '+vi-svn-detect-changes:local:1: not valid in this context'
Diffstat (limited to 'functions/vcs.zsh')
-rw-r--r--functions/vcs.zsh2
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