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

Re: CDPATH?



It worked for me on Cygwin ZSH 4.3.9.

/cygdrive/c/temp>setopt
autocd
interactive
login
shinstdin
zle

/cygdrive/c/temp>ls elsewhere
ls: cannot access elsewhere: No such file or directory

/cygdrive/c/temp>cd elsewhere
/cygdrive/c/cygwin/home/sameer/elsewhere

sameer.

On 1/4/09, Webb Sprague <webb.sprague@xxxxxxxxx> wrote:
Hi all,

I can't get CDPATH to work as I expect -- can someone help?  See below
for more info.

(0) foobar:wsprague [0]% setopt autocd
(1) foobar:wsprague [0]% echo $CDPATH
        <1186>
~/DEMOG/PAPERS-PRESENTATIONS-ETC/DISSERTATION/NLSY
(0) foobar:wsprague [0]% cd NLSY
        <1187>
cd: no such file or directory: NLSY
(1) foobar:wsprague [0]%

Thanks!

-W



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