Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
popd is blocked on non-existent directory
- X-seq: zsh-users 376
- From: John S Cooper <jsc@xxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: popd is blocked on non-existent directory
- Date: Mon, 26 Aug 1996 11:15:58 -0700
- Cc: John.Cooper@xxxxxxxxxxx
Under zsh 3.0.0, if a directory in the directory stack is removed, popd
seems to get "blocked" - in 2.5, it used to just remove the non-existent
directory from the stack. Here's what happens:
1175 kontiki%> dirs -v ~/elisp
0 ~/elisp
1 ~/elisp/foo
2 ~/elisp/foo/tm
3 ~Sputnik/sdtmail
1176 kontiki%> ~/elisp
1176 kontiki%> popd ~/elisp
popd: no such file or directory: /space/jsc/elisp/foo
1177 kontiki%> dirs -v ~/elisp
0 ~/elisp
1 ~/elisp/foo
2 ~/elisp/foo/tm
3 ~Sputnik/sdtmail
1178 kontiki%> ~/elisp
I'm now unable to pop the stack back past the non-existent "~/elisp/foo"
directory. I know I can `cd -3' but it would be nice to have the
non-existent stuff cleaned out of the stack.
Is there a way to get the old behavior, i.e. have any non-existent
directories removed from the stack?
Thanks,
--- John.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author