aboutsummaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-07-03 14:47:07 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-07-03 14:47:07 +0300
commit165021946c4bac6aac75f84a7ed3ae640542f1c0 (patch)
treea1908968b05d658962d258804d116042eddc9603 /functions
parentdb35731c464c6c743603c4efd047baafaf6e6ca9 (diff)
parenta8c759e4af5c329e11e506773e68e4eca61aca2b (diff)
Merge branch 'add_space_between_remote_icon_and_commit_hash' of https://github.com/cdalvaro/powerlevel10k into 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