Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

How to use popd?



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