mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 08:10:24 +08:00
fix check for existing variable
This commit is contained in:
parent
7a18c37b39
commit
d68b631919
@ -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…
x
Reference in New Issue
Block a user