zsh-workers
 help / color / mirror / code / Atom feed
* cd .. with CDPATH
@ 1996-02-19 14:40 Peter Stephenson
  0 siblings, 0 replies; only message in thread
From: Peter Stephenson @ 1996-02-19 14:40 UTC (permalink / raw)
  To: Zsh hackers list

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 <pws@ifh.de>       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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-02-19 15:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-02-19 14:40 cd .. with CDPATH Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).