aboutsummaryrefslogtreecommitdiff
path: root/functions/vcs.zsh
diff options
context:
space:
mode:
authorBen Hilburn <bhilburn@gmail.com>2016-10-26 16:49:33 +0300
committerGitHub <noreply@github.com>2016-10-26 16:49:33 +0300
commit790230e1c7e03198d39e2ecc908b40af1d25f373 (patch)
tree873a76e9cdd4a894844e175362b2cc3c760f5791 /functions/vcs.zsh
parentcdb23023595a8ffa4e9f5644cf1b4d1796a980c9 (diff)
parentbddbdd62e841d6e008e95fe2f0909d5b32e623a8 (diff)
Merge pull request #326 from mtraynham/fix_svn_detect_changes
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