zsh-users
 help / color / mirror / code / Atom feed
From: Kurtis Rader <krader@skepticism.us>
To: zzapper <david@rayninfo.co.uk>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: cd to nearest directory
Date: Fri, 10 Jan 2014 07:51:01 -0800	[thread overview]
Message-ID: <CABx2=D9RWCbHtoa66_Xb35X3OSc5J9PGvjA7utuLtVXZN5USkg@mail.gmail.com> (raw)
In-Reply-To: <XnsA2B19B8BA8580davidrayninfocouk@80.91.229.13>

[-- Attachment #1: Type: text/plain, Size: 549 bytes --]

See the cdpath array (and corresponding CDPATH env var) in "man zshparam".
What does

echo $CDPATH
or
echo $cdpath

report? If you unset either one does the unwanted behavior go away?


On Fri, Jan 10, 2014 at 7:17 AM, zzapper <david@rayninfo.co.uk> wrote:

> /www/quote/ : builtin cd admin
>
> there is no admin sub-directory in /www/quote/
>
> so it jumps to
> /www/admin/
>
> is this default behaviour?
>
> Is there a control to enable/disable this feature?
>
> zzapper
>
>


-- 
Kurtis Rader
Caretaker of the exceptional canines Junior and Hank

  parent reply	other threads:[~2014-01-10 15:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-10 15:17 zzapper
2014-01-10 15:46 ` Peter Stephenson
2014-01-10 15:51 ` Kurtis Rader [this message]
2014-01-10 16:05   ` zzapper

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='CABx2=D9RWCbHtoa66_Xb35X3OSc5J9PGvjA7utuLtVXZN5USkg@mail.gmail.com' \
    --to=krader@skepticism.us \
    --cc=david@rayninfo.co.uk \
    --cc=zsh-users@zsh.org \
    /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).