Merge branch 'dritter/dritter/minimize_dependencies' into `next`
This commit is contained in:
commit
6925e35cb8
|
@ -369,7 +369,7 @@ prompt_vcs() {
|
||||||
|
|
||||||
function +vi-git-untracked() {
|
function +vi-git-untracked() {
|
||||||
if [[ $(git rev-parse --is-inside-work-tree 2> /dev/null) == 'true' && \
|
if [[ $(git rev-parse --is-inside-work-tree 2> /dev/null) == 'true' && \
|
||||||
${$(git ls-files --others --exclude-standard | sed q | wc -l)// /} != 0 ]]; then
|
-n $(git ls-files --others --exclude-standard | sed q) ]]; then
|
||||||
hook_com[unstaged]+=" %F{$VCS_FOREGROUND_COLOR}$VCS_UNTRACKED_ICON%f"
|
hook_com[unstaged]+=" %F{$VCS_FOREGROUND_COLOR}$VCS_UNTRACKED_ICON%f"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue