| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| 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" <doctor AT fruitbat DOT org> |
| To: | Thorsten Kampe <thorsten AT thorstenkampe DOT de> |
| cc: | cygwin AT cygwin DOT com |
| Subject: | Re: $CDPATH bug in zsh |
| In-Reply-To: | <e2jc19mzh1a.dlg@thorstenkampe.de> |
| Message-ID: | <Pine.LNX.4.21.0301311056450.4126-100000@gremlin.fruitbat.org> |
| MIME-Version: | 1.0 |
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 AT fruitbat DOT org> or <Peter DOT Castro AT oracle DOT 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |