mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-12 13:08:49 +00:00
fix check for existing variable
This commit is contained in:
parent
7a18c37b39
commit
d68b631919
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue