Fix git.fish test failing because of an alias

I have an alias `adda=add :/` in my globabl `.gitconfig`, which
made the test fail. This is the fix.
This commit is contained in:
Ilya Grigoriev 2021-03-01 00:41:37 -08:00 committed by Fabian Homborg
parent c402ce0152
commit a04ba04588

View File

@ -24,7 +24,7 @@ git init >/dev/null 2>&1
# Note: We *can't* list all here because in addition to aliases,
# git also uses all commands in $PATH called `git-something` as custom commands,
# so this depends on system state!
complete -C'git ' | grep '^add'
complete -C'git ' | grep '^add\s'
# (note: actual tab character in the check here)
#CHECK: add Add file contents to the index