This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: $CDPATH bug in zsh
- From: "Peter A. Castro" <doctor at fruitbat dot org>
- To: Thorsten Kampe <thorsten at thorstenkampe dot de>
- Cc: cygwin at cygwin dot com
- Date: Fri, 31 Jan 2003 11:25:02 -0800 (PST)
- Subject: Re: $CDPATH bug in zsh
On Fri, 31 Jan 2003, Thorsten Kampe wrote:
> zsh doesn't evaluate the root directory ('/') if it is in $CDPATH. I
> tested this under SuSE 8.1 and it works as supposed, so this seems to
> be a Cygwin-zsh bug.
>
> Have a look at the example[1] ('**' is my prompt).
Interesting...
Notice that if you replace "/" with the /cygdrive path to your root dir,
that it works:
(Administrator)[219] ~/src/zsh/work406/zsh-4.0.6 % cdpath=/cygdrive/e/cygwin
(Administrator)[220] ~/src/zsh/work406/zsh-4.0.6 % cd bin
/cygdrive/e/cygwin/bin
(Administrator)[221] /cygdrive/e/cygwin/bin %
It doesn't appear to be a mount-point issue. If you set/add one of the
other mountpoints, like /usr/lib, you can cd to a subdir without any
trouble. It appears to be just root ("/").
I'll look into it.
> Thorsten
--
Peter A. Castro <doctor@fruitbat.org> or <Peter.Castro@oracle.com>
"Cats are just autistic Dogs" -- Dr. Tony Attwood
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/