mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
parent
c6c0c9bfdf
commit
d6a4694d9f
3 changed files with 14 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
|
||||
####################
|
||||
# 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
|
||||
^
|
||||
|
|
|
@ -326,4 +326,8 @@ echo "$__fish_test_PATH" $__fish_test_PATH
|
|||
set -U --path __fish_test_path2 a:b
|
||||
echo "$__fish_test_path2" $__fish_test_path2
|
||||
|
||||
logmsg Variable names in other commands
|
||||
# Test invalid variable names in loops (#5800)
|
||||
for a,b in y 1 z 3; echo $a,$b; end
|
||||
|
||||
true
|
||||
|
|
|
@ -55,3 +55,6 @@ a:b:c 1 2 3 a b c 1 2 3
|
|||
a:b:c 1:2:3 a b c 1 2 3
|
||||
1:2:3 1 2 3
|
||||
a:b a b
|
||||
|
||||
####################
|
||||
# Variable names in other commands
|
||||
|
|
Loading…
Reference in a new issue