fish-shell/tests/test3.err
ridiculousfish 2924751488 Correct priority of universal and global variable setting
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
2019-05-25 17:35:19 -07:00

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