1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-24 16:11:57 +00:00

Merge pull request #326 from mtraynham/fix_svn_detect_changes

Fix '+vi-svn-detect-changes:local:1: not valid in this context'
This commit is contained in:
Ben Hilburn 2016-10-26 09:49:33 -04:00 committed by GitHub
commit 790230e1c7

View file

@ -125,7 +125,7 @@ function +vi-vcs-detect-changes() {
}
function +vi-svn-detect-changes() {
local svn_status=$(svn status)
local svn_status="$(svn status)"
if [[ -n "$(echo "$svn_status" | grep \^\?)" ]]; then
hook_com[unstaged]+=" $(print_icon 'VCS_UNTRACKED_ICON')"
VCS_WORKDIR_HALF_DIRTY=true