From: Peter Stephenson <pws@ifh.de>
To: zsh-workers@math.gatech.edu (Zsh hackers list)
Subject: Re: pushd
Date: Thu, 17 Oct 1996 15:47:21 +0200 [thread overview]
Message-ID: <199610171347.PAA29053@hydra.ifh.de> (raw)
In-Reply-To: "Anthony Heading"'s message of "Thu, 17 Oct 1996 14:22:37 MET." <199610171322.OAA10786@gmp-etpres1.uk.jpmorgan.com>
Anthony Heading wrote:
> I'm still puzzled, though, as to why Peter et al want this PUSHD_CYCLE
> option . The reason it's so easy to implement is that it is, in
> effect, simply aliasing pushd=cd. Completely altering the de-facto
> standard definition of a shell command is something on balance to be
> avoided. To repeat my suggestion , why not just make cd +n push the
> current directory? Then it'll do exactly the same as pushd, while
> being two less chars to type, and not requiring extra emulation
> parameters.
But it isn't equivalent, because cd doesn't push things down on the
stack, just bring them to the top replacing whatever's there, unless
you have autopushd set, which I don't. I don't want cd to push things
on the stack, that's why we have pushd. I want cd to change
directories and pushd to push directories. I don't think that's
unreasonable.
--
Peter Stephenson <pws@ifh.de> Tel: +49 33762 77366
WWW: http://www.ifh.de/~pws/ Fax: +49 33762 77413
Deutches Electronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, 15735 Zeuthen, Germany.
next prev parent reply other threads:[~1996-10-17 13:53 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-10-11 12:34 pushd Peter Stephenson
1996-10-11 13:01 ` pushd Vinnie Shelton
1996-10-11 15:13 ` pushd Peter Whaite
1996-10-11 19:53 ` pushd Bart Schaefer
1996-10-15 12:45 ` pushd Peter Stephenson
1996-10-15 17:08 ` pushd Bart Schaefer
1996-10-15 17:34 ` pushd Zoltan Hidvegi
1996-10-16 5:38 ` pushd Bart Schaefer
1996-10-16 8:42 ` pushd Zefram
1996-10-16 17:36 ` pushd Bart Schaefer
1996-10-16 18:10 ` pushd Zefram
1996-10-16 21:16 ` pushd Bart Schaefer
1996-10-17 13:22 ` pushd Anthony Heading
1996-10-17 13:47 ` Peter Stephenson [this message]
1996-10-17 17:01 ` pushd Bart Schaefer
1996-10-16 22:28 ` pushd Zoltan Hidvegi
1996-10-16 12:42 ` pushd Peter Stephenson
1996-10-15 18:45 ` pushd Anthony Heading
1996-10-18 13:14 pushd Ray Van Tassle-CRV004
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=199610171347.PAA29053@hydra.ifh.de \
--to=pws@ifh.de \
--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).