Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: AUTO_CD
- X-seq: zsh-workers 22829
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: AUTO_CD
- Date: Fri, 06 Oct 2006 19:01:33 -0700
- In-reply-to: <pdy988306240635c14c9a247adf@[192.168.1.2]>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <pdy988306240627c14c51c58468@xxxxxxxxxxx> <200610062349.05354.arvidjaar@xxxxxxxxxx> <pdy98830624062fc14c69e22b5a@xxxxxxxxxxx> <20a807210610061336q20807935m1210eb1d6634f42e@xxxxxxxxxxxxxx> <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.)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author