diff --git a/share/completions/git.fish b/share/completions/git.fish index 6a2b92746..d8e9df6d7 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -161,7 +161,7 @@ function __fish_git_using_command # Check aliases. set -l varname __fish_git_alias_(string escape --style=var -- $cmd) - set -q $$varname + set -q $varname and contains -- $$varname $argv and return 0 return 1