diff --git a/share/completions/git.fish b/share/completions/git.fish index f9e7ba2be..ba70dd9f4 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -47,7 +47,7 @@ end function __fish_git_needs_command set cmd (commandline -opc) - if [ (count $cmd) -eq 1 -a $cmd[1] = 'git' ] + if [ (count $cmd) -eq 1 ] return 0 end return 1