mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-24 18:40:42 +08:00
2924751488
When setting a variable without a specified scope, we should give priority
to an existing local or global above an existing universal variable with
the same name.
In 16fd780484
there was a regression that
made universal variables have priority.
Fixes #5883
14 lines
281 B
Plaintext
14 lines
281 B
Plaintext
|
|
####################
|
|
# Path universal variables
|
|
|
|
####################
|
|
# Variable names in other commands
|
|
fish: for: Variable name 'a,b' is not valid. See `help identifiers`.
|
|
|
|
for a,b in y 1 z 3; echo $a,$b; end
|
|
^
|
|
|
|
####################
|
|
# Global vs Universal Unspecified Scopes
|