mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-29 06:13:20 +00:00
d6a5792ce2
Code like echo $list[$var[1]] was producing an error because of nested square brackets. Allow these brackets again. Fixes #5362
27 lines
414 B
Text
27 lines
414 B
Text
|
|
####################
|
|
# Slices
|
|
fish: Invalid index value
|
|
echo "$foo[d]"
|
|
^
|
|
fish: Invalid index value
|
|
echo $foo[d]
|
|
^
|
|
fish: Invalid index value
|
|
echo ()[d]
|
|
^
|
|
|
|
####################
|
|
# Percent self
|
|
|
|
####################
|
|
# Catch your breath
|
|
fish: $) is not a valid variable in fish.
|
|
echo $$paren
|
|
^
|
|
|
|
####################
|
|
# Test tilde expansion
|
|
|
|
####################
|
|
# Test path variables
|