Of course. Actually encountering a directory named like that does seem
unlikely, but unlikely probably doesn't cut it. It could stat beforehand
but then the ..n behavior becomes less consistent.
Would making this an option ('BACKTRACK_N' or something) be appropriate?
On Sun May 10, 2020 at 6:43 AM, Roman Perepelitsa wrote:
On Sun, May 10, 2020 at 6:36 AM Dian M Fay <dian.m.fay@xxxxxxxxx> wrote:
dian@lamia ~/work/zsh cd ..2
dian@lamia ~ cd ..123
dian@lamia /
`..2` is a valid directory name. So it's a breaking change.
~% mkdir ..2
~% cd ..2
~/..2%
Roman.