zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@sunsite.dk
Subject: Re: AUTO_CD
Date: Fri, 06 Oct 2006 19:01:33 -0700	[thread overview]
Message-ID: <061006190133.ZM29330@torch.brasslantern.com> (raw)
In-Reply-To: <pdy988306240635c14c9a247adf@[192.168.1.2]>

On Oct 6,  4:45pm, Dave Yost wrote:
}
} Yes, but autocd goes beyond what is desired: it makes every cd into a
} pushd.

Viz:

setopt auto_cd auto_pushd
cd chdir () { setopt localoptions no_auto_pushd; builtin cd "$@" }

(One of the rare instances where defining two functions at once makes
some sort of sense.)


      reply	other threads:[~2006-10-07  2:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-06 18:35 AUTO_CD Dave Yost
2006-10-06 19:49 ` AUTO_CD Andrey Borzenkov
2006-10-06 20:18   ` AUTO_CD Dave Yost
2006-10-06 20:37     ` AUTO_CD Frank Terbeck
     [not found]   ` <pdy98830624062fc14c69e22b5a@192.168.1.2>
2006-10-06 20:36     ` AUTO_CD Vin Shelton
2006-10-06 23:45       ` AUTO_CD Dave Yost
2006-10-07  2:01         ` Bart Schaefer [this message]

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=061006190133.ZM29330@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@sunsite.dk \
    /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).