From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: zsh-workers-request@euclid.skiles.gatech.edu Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by coral.primenet.com.au (8.7.5/8.7.3) with ESMTP id EAA24514 for ; Wed, 16 Oct 1996 04:49:28 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id OAA26905; Tue, 15 Oct 1996 14:46:06 -0400 (EDT) Resent-Date: Tue, 15 Oct 1996 14:46:06 -0400 (EDT) From: Anthony Heading Message-Id: <199610151845.TAA06852@gmp-etpres1.uk.jpmorgan.com> Subject: Re: pushd To: schaefer@nbn.com Date: Tue, 15 Oct 1996 19:45:28 +0100 (BST) Cc: pws@ifh.de, zsh-workers@math.gatech.edu In-Reply-To: <961015100834.ZM25349@candle.brasslantern.com> from Bart Schaefer at "Oct 15, 96 10:08:34 am" MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"aGiCi1.0.Ja6.jlzOo"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/2235 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu > 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 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