mirror of
https://github.com/romkatv/powerlevel10k
synced 2025-02-03 20:14:17 +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:
commit
790230e1c7
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user