1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-18 13:41:56 +00:00

Fix '+vi-svn-detect-changes:local:1: not valid in this context'

This commit is contained in:
Matt Traynham 2016-10-19 09:35:23 -04:00
parent c4fdc8f708
commit bddbdd62e8

View file

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