From d68b631919e4a4a0c147d54d989b0bb8fbf1adf5 Mon Sep 17 00:00:00 2001 From: Daniel K Date: Fri, 28 Jul 2017 19:59:00 +0200 Subject: [PATCH] fix check for existing variable --- share/completions/git.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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