From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from math.gatech.edu (euclid.skiles.gatech.edu [130.207.146.50]) by werple.net.au (8.7/8.7.1) with SMTP id IAA12369 for ; Sun, 12 Nov 1995 08:40:52 +1100 (EST) Received: by math.gatech.edu (5.x/SMI-SVR4) id AA21189; Sat, 11 Nov 1995 16:24:26 -0500 Resent-Date: 11 Nov 1995 21:26:04 U Old-Return-Path: Message-Id: Date: 11 Nov 1995 21:26:04 U From: "Heading, Anthony" Subject: RE: PUSHD_TO_HOME problem To: "Danek Duvall" , zsh-workers@math.gatech.edu X-Mailer: Mail*Link SMTP-MS 3.0.1 Resent-Message-Id: <"1d1N81.0.yA5.9IHfm"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/594 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu > I've noticed that the beta-11 releases, when AUTO_PUSHD and > PUSHD_TO_HOME are set, `cd' doesn't swap the top two directories on > the stack, while `pushd' does. Is this intended behavior, or a bug? > I couldn't find any reference to it in the ChangeLog. I've lost track of the baseline, but in Zoltan's releases the behaviour of cd/pushd/popd is largely defined by a patch of mine which I don't think has changed recently. The intended (and, for me, the observed) behaviour is that with PUSHD_TO_HOME set neither cd nor pushd swap the top two dirs. Without PUSHD_TO_HOME, pushd swaps, but cd doesn't. After my patch, PUSHD_TO_HOME seems a fairly unnecessary option. I'd like to get rid of it. But perhaps some people rely on it in scripts. Anthony