Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
How to use popd?
- X-seq: zsh-workers 24292
- From: Jörg Sommer <joerg@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: How to use popd?
- Date: Wed, 19 Dec 2007 00:13:13 +0000 (UTC)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Sender: news <news@xxxxxxxxxxxx>
Hi,
I've this situation:
% dirs
/usr ~ /tmp ~/Tmp/kernel/linux ~
% pwd
/usr
Now I want to go to /tmp. I thought popd +2 is what I need, but I'm still
in /usr. Only the entry for /tmp is removed.
% popd +2
/usr ~ ~/Tmp/kernel/linux ~
% pwd
/usr
Why doesn't popd change the directory?
Bye, Jörg.
--
Du kannst einem Schwein einen goldenen Ring durch die Nase ziehen,
deswegen bleibt es trozdem ein Schwein!
Messages sorted by:
Reverse Date,
Date,
Thread,
Author