Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: accessing directory stack entries changed
- X-seq: zsh-users 196
- From: Zefram <A.Main@xxxxxxxxxxxxxxxxx>
- To: nk@xxxxxxxxxxxxx
- Subject: Re: accessing directory stack entries changed
- Date: Fri, 3 May 1996 13:01:43 +0100 (BST)
- Cc: zsh-users@xxxxxxxxxxxxxxx
- In-reply-to: <9605031025.AA11068@xxxxxxxxxxxxxxxxxxxx> from "Norbert Kiesel" at May 3, 96 12:25:35 pm
>between beta13 and beta14, the magic required to access directory
>stack entries changed from '=' to '~' (i.e. 'cd /; pushd /tmp; echo
>=1' was changed to 'cd /;pushd /tmp; echo ~1'). Was this an intended
>change or merely a result of the code cleanup in subst.c? It's at
>least not mentioned anywhere (neither Doc nor ChangeLog nor README).
It's intentional. It is documented in the man page, but should
probably go in the FAQ too.
>One effect is that the old '=-' for accessing the last pushed entry of
>the stack is gone because '~-' is an alias for $OLDPWD.
~-0 is the bottom entry of the stack. Less convenient, but then, how
often do you want it, compared to ~-?
-zefram
Messages sorted by:
Reverse Date,
Date,
Thread,
Author