summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-07-03 14:47:19 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-07-03 14:47:19 +0300
commitcc29061253e6213c2f21a8446724315b5c41ed93 (patch)
treea1908968b05d658962d258804d116042eddc9603 /functions
parentdb35731c464c6c743603c4efd047baafaf6e6ca9 (diff)
parent165021946c4bac6aac75f84a7ed3ae640542f1c0 (diff)
Merge branch 'cdalvaro-add_space_between_remote_icon_and_commit_hash'
Diffstat (limited to 'functions')
-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