fix check for existing variable

This commit is contained in:
Daniel K 2017-07-28 19:59:00 +02:00 committed by Kurtis Rader
parent 7a18c37b39
commit d68b631919

View file

@ -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