mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-11 07:34:32 +00:00
0e62dedb26
The control flow in expand.cpp is a bit more complicated than it seemed at first blush. Ref #4862.
8 lines
121 B
Fish
8 lines
121 B
Fish
echo $foo[0]
|
|
echo $foo[ 0 ]
|
|
echo $foo[ 00 ]
|
|
|
|
# and make sure these didn't break
|
|
set -l foo one two three
|
|
echo $foo[001]
|
|
|