aboutsummaryrefslogtreecommitdiff
path: root/functions/vcs.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'functions/vcs.zsh')
-rwxr-xr-xfunctions/vcs.zsh2
1 files changed, 2 insertions, 0 deletions
diff --git a/functions/vcs.zsh b/functions/vcs.zsh
index d89525fd..c217eafd 100755
--- a/functions/vcs.zsh
+++ b/functions/vcs.zsh
@@ -141,6 +141,8 @@ function +vi-vcs-detect-changes() {
vcs_visual_identifier='VCS_SVN_ICON'
fi
+ [[ -n "$vcs_visual_identifier" ]] && vcs_visual_identifier="$vcs_visual_identifier "
+
if [[ -n "${hook_com[staged]}" ]] || [[ -n "${hook_com[unstaged]}" ]]; then
VCS_WORKDIR_DIRTY=true
else