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

cd "" foo bug?



cd with two arguments works fine if the second argument is an
empty string, but not if the first argument is an empty string.
Shouldn't it try all possible positions for the "" instead of just
the first one?

 $ cd ~/gcc/build/gcc
 $ builtin cd build ""
 ~/gcc/gcc
 $ builtin cd "" build
 cd: no such file or directory: build/home/user/gcc/gcc

 $ zsh --version
 zsh 5.0.2 (s390x-ibm-linux-gnu)                                             

Ciao

Dominik ^_^  ^_^

-- 

Dominik Vogt
IBM Germany



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