render VCS_GIT_ICON and the like as segment visual identifiers instead of embedding them in the content

This commit is contained in:
romkatv 2019-07-03 14:07:11 +02:00
commit c3990c53a9
2 changed files with 12 additions and 20 deletions

View file

@ -141,8 +141,6 @@ 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