Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Inconsistent behaviour of cd and AUTO_CD
- X-seq: zsh-users 4747
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Inconsistent behaviour of cd and AUTO_CD
- Date: Sun, 10 Mar 2002 00:46:51 +0100
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
With zsh 4.0.4 and AUTO_CD, under Linux and ext3 filesystem type:
ay:~> mkdir blah
ay:~> cd blah
ay:~/blah> ..
ay:~> cd blah
ay:~/blah> rmdir ../blah
ay:~/blah> ..
zsh: permission denied: ..
zsh: exit 1 ..
ay:~/blah[Failed 1]> cd ..
ay:~>
The problem is that after the rmdir, "ls -a" no longer lists . and ..
(though doing something like "cat > .." gives the following error:
"zsh: is a directory: .."). When using ".." only, the directory can't
be found, but when using "cd ..", zsh assumes that the directory ..
still exists.
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/> - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
Messages sorted by:
Reverse Date,
Date,
Thread,
Author