mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-09 00:15:15 +08:00
![Mahmoud Al-Qudsi](/assets/img/avatar_default.png)
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]
|
|
|