Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

AUTO_CD and directory names of options



Hey, someone on irc noticed something interesting about AUTO_CD.

If autocd attempts to cd into a directory that is a valid option for cd,
the option is interpreted like normal
and the directory doesn't change.

Having autocd perform ''cd -- -1'' not ''cd -1'' would fix it.
Src/exec.c seems to handle it, but i am exactly sure how.



Messages sorted by: Reverse Date, Date, Thread, Author