mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 02:13:38 +08:00
0e62dedb26
The control flow in expand.cpp is a bit more complicated than it seemed at first blush. Ref #4862.
9 lines
121 B
Fish
9 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]
|
|
|