From: Danek Duvall <duvall@dhduvall.student.Princeton.EDU>
To: "Heading, Anthony" <heading_anthony@jpmorgan.com>
Cc: zsh-workers@math.gatech.edu
Subject: RE: PUSHD_TO_HOME problem
Date: Sat, 11 Nov 1995 20:09:09 -0500 [thread overview]
Message-ID: <199511120109.UAA13756@dhduvall.student.Princeton.EDU> (raw)
In-Reply-To: <n1396015352.49655@smtpgwprod.ny.jpmorgan.com>
>>>>> "HA" == Heading, Anthony <heading_anthony@jpmorgan.com> writes:
>> 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.
HA> I've lost track of the baseline, but in Zoltan's releases the behaviour of
HA> cd/pushd/popd is largely defined by a patch of mine which I don't think
HA> has changed recently. The intended (and, for me, the observed) behaviour
HA> is that with PUSHD_TO_HOME set neither cd nor pushd swap the top two dirs.
HA> Without PUSHD_TO_HOME, pushd swaps, but cd doesn't.
Yes, sorry. I completely misstated the behavior I was seeing. What
you describe is what I'm getting, and I am using one of Zoltan's
releases.
HA> After my patch, PUSHD_TO_HOME seems a fairly unnecessary option. I'd
HA> like to get rid of it.
However, I don't like the behaviour your patch produces. I want cd to
be able to swap the top two dirs, just like pushd does. After all,
the way I interpret AUTO_PUSHD is like the manual says: `Make cd act
like pushd.'
Obviously, it's not that big a deal; I can alias cd to pushd if I
want. But if this is going to be the behavior of cd with AUTO_PUSHD
set, then it should be documented in zshoptions.1.
Thanks,
Danek
--
Danek Duvall <duvall@lorien.princeton.edu> For my PGP key, send mail with
Computer Science, Princeton University subject "get pgp key" or look
http://lorien.princeton.edu/~duvall/ it up on the keyservers.
next prev parent reply other threads:[~1995-11-12 1:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-11-11 21:26 Heading, Anthony
1995-11-12 1:09 ` Danek Duvall [this message]
-- strict thread matches above, loose matches on Subject: below --
1995-11-12 1:51 Heading, Anthony
1995-11-10 23:44 Danek Duvall
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199511120109.UAA13756@dhduvall.student.Princeton.EDU \
--to=duvall@dhduvall.student.princeton.edu \
--cc=heading_anthony@jpmorgan.com \
--cc=zsh-workers@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).