|
|
@ -13,7 +13,7 @@
|
|
|
|
function +vi-git-status() {
|
|
|
|
function +vi-git-status() {
|
|
|
|
# Check for untracked files or updated submodules since vcs_info does not.
|
|
|
|
# Check for untracked files or updated submodules since vcs_info does not.
|
|
|
|
if [[ -n $(git ls-files --other --exclude-standard 2> /dev/null) ]]; then
|
|
|
|
if [[ -n $(git ls-files --other --exclude-standard 2> /dev/null) ]]; then
|
|
|
|
hook_com[unstaged]='%F{8}✗%f'
|
|
|
|
hook_com[unstaged]=' %F{8}✗%f'
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|