This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]