Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: pushd
- X-seq: zsh-workers 2235
- From: Anthony Heading <aheading@xxxxxxxxxxxx>
- To: schaefer@xxxxxxx
- Subject: Re: pushd
- Date: Tue, 15 Oct 1996 19:45:28 +0100 (BST)
- Cc: pws@xxxxxx, zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <961015100834.ZM25349@xxxxxxxxxxxxxxxxxxxxxxx> from Bart Schaefer at "Oct 15, 96 10:08:34 am"
> I'm with you for a PUSHD_CYCLE option, set by default, which when not
> set would give the old zsh behavior.
>
> Is the following the ChangeLog entry for pushd becoming cyclic? Has it
> really been that long ago?
>
> March/April 1995
>
> * pushd/popd changes from Anthony Heading <aheading@xxxxxxxxxxxx>
Yes, it was about then -- it was in the hzoli releases from the start, I think.
I was trying to keep quiet on this one, since I never had a particular axe to
grind, but compatibility with other shells seems sensible.
The idea was that the "old behaviour" remained available with cd +n,
while pushd/popd +n (which used to do the same as cd) moved to bash/csh
semantics. I didn't anticipate that this could cause any aggravation, but
seemingly it has, for which I apologise. I guess it's because I set
AUTOPUSHD, so there really is no lost functionality.
Would it make people happy if (optionally?) cd +n pushed the current directory?
Then cd +n could be exactly the same as the old pushd +n.
Anthony
Messages sorted by:
Reverse Date,
Date,
Thread,
Author