From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by werple.net.au (8.7/8.7.1) with ESMTP id CAA06468 for ; Tue, 20 Feb 1996 02:07:02 +1100 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id JAA05016; Mon, 19 Feb 1996 09:40:59 -0500 (EST) Resent-Date: Mon, 19 Feb 1996 09:40:59 -0500 (EST) Message-Id: <9602191440.AA06262@hydra.ifh.de> To: zsh-workers@math.gatech.edu (Zsh hackers list) Subject: cd .. with CDPATH Date: Mon, 19 Feb 1996 15:40:20 +0100 From: Peter Stephenson Resent-Message-ID: <"ZTXdc.0.FE1.wl8An"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/774 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu I've just discovered that if . is in your CDPATH, and is not the first element, and you do `cd ..', it takes you to the directory that is the parent of the first element of CDPATH (in my case as presumably with many other people this is the parent of my home directory). Presumably this has been happening for some time. I consider it a bug (as presumably would a lot of other shells, since they don't do it). Does anybody consider it a feature? (Of course, what I *really* needed to do was move . to the front of my CDPATH, but the behaviour still seems wrong.) -- Peter Stephenson Tel: +49 33762 77366 WWW: http://www.ifh.de/~pws/ Fax: +49 33762 77330 Deutches Electronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen DESY-IfH, 15735 Zeuthen, Germany.