Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Fri, 31 Jan 2003 11:25:02 -0800 (PST) From: "Peter A. Castro" To: Thorsten Kampe cc: cygwin AT cygwin DOT com Subject: Re: $CDPATH bug in zsh In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 or "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/