aboutsummaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorCarlos Álvaro <carlos.alvaro@meteologica.com>2019-07-03 09:08:21 +0300
committerCarlos Álvaro <carlos.alvaro@meteologica.com>2019-07-03 09:08:21 +0300
commita8c759e4af5c329e11e506773e68e4eca61aca2b (patch)
treeefb0e352e765d848199a10a2069236f7fe343dc6 /functions
parent09cebc28876a23bd276da5fe5be9895c82da88e1 (diff)
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