mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 22:03:12 +00: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
13 lines
281 B
Text
13 lines
281 B
Text
|
|
####################
|
|
# 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
|