mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 15:37:59 +08:00
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:
parent
c402ce0152
commit
a04ba04588
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user