From: Dave Yost <Dave@Yost.com>
To: zsh-workers@sunsite.dk
Subject: Re: AUTO_CD
Date: Fri, 6 Oct 2006 16:45:10 -0700 [thread overview]
Message-ID: <pdy988306240635c14c9a247adf@[192.168.1.2]> (raw)
In-Reply-To: <20a807210610061336q20807935m1210eb1d6634f42e@mail.gmail.com>
At 04:36 PM -0400 2006-10-06, Vin Shelton wrote:
>$ zsh -f
>$ ls -d software
>software
>$ software
>zsh: command not found: software
>$ setopt autocd
>$ software
>$ pwd
>/e/acs/software
>$ dirs
>~/software
>$ cd
>$ setopt autopushd
>$ software
>$ dirs
>~/software ~
Yes, but autocd goes beyond what is desired: it makes every cd into a pushd.
$ ls -d foo
foo
$ cd foo
$ dirs
~/software/foo ~/software ~
>Case and underscore are ignored in option names.
Good to know.
Dave
>
> - Vin
>
>On 10/6/06, Dave Yost <Dave@yost.com> wrote:
>>At 11:49 PM +0400 2006-10-06, Andrey Borzenkov wrote:
>>>-----BEGIN PGP SIGNED MESSAGE-----
>>>Hash: SHA1
>>>
>>>On Friday 06 October 2006 22:35, Dave Yost wrote:
>>>> Hi.
>>>>
>>>> There should be a way to get something like AUTO_CD but that does a pushd.
>>>>
>>>
>>>What about 'setopt autopushd'?
>>>
>>> -andrey
>>
>>Man zshall doesn't contain the string autopushd anywhere. I presume you mean AUTO_PUSHD, which (as I read it) makes all cd commands act like pushd. This is different from what I'm asking, though AUTO_PUSHD is the name you would expect my request would use.
>>
>
>
>--
>Whoever you are, no matter how lonely,
>the world offers itself to your imagination,
>calls to you like the wild geese, harsh and exciting--
>over and over announcing your place
>in the family of things. Mary Oliver
next prev parent reply other threads:[~2006-10-06 23:45 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 ` Dave Yost [this message]
2006-10-07 2:01 ` AUTO_CD Bart Schaefer
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='pdy988306240635c14c9a247adf@[192.168.1.2]' \
--to=dave@yost.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).