* cd to nearest directory @ 2014-01-10 15:17 zzapper 2014-01-10 15:46 ` Peter Stephenson 2014-01-10 15:51 ` Kurtis Rader 0 siblings, 2 replies; 4+ messages in thread From: zzapper @ 2014-01-10 15:17 UTC (permalink / raw) To: zsh-users /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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: cd to nearest directory 2014-01-10 15:17 cd to nearest directory zzapper @ 2014-01-10 15:46 ` Peter Stephenson 2014-01-10 15:51 ` Kurtis Rader 1 sibling, 0 replies; 4+ messages in thread From: Peter Stephenson @ 2014-01-10 15:46 UTC (permalink / raw) To: zsh-users On Fri, 10 Jan 2014 15:17:14 +0000 (UTC) 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? No, you have $cdpath / $CDPATH set to include /www. pws ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: cd to nearest directory 2014-01-10 15:17 cd to nearest directory zzapper 2014-01-10 15:46 ` Peter Stephenson @ 2014-01-10 15:51 ` Kurtis Rader 2014-01-10 16:05 ` zzapper 1 sibling, 1 reply; 4+ messages in thread From: Kurtis Rader @ 2014-01-10 15:51 UTC (permalink / raw) To: zzapper; +Cc: Zsh Users [-- 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: cd to nearest directory 2014-01-10 15:51 ` Kurtis Rader @ 2014-01-10 16:05 ` zzapper 0 siblings, 0 replies; 4+ messages in thread From: zzapper @ 2014-01-10 16:05 UTC (permalink / raw) To: zsh-users Kurtis Rader <krader@skepticism.us> wrote in news:CABx2=D9RWCbHtoa66_Xb35X3OSc5J9PGvjA7utuLtVXZN5USkg@mail.gmail.com: > See the cdpath array (and corresponding CDPATH env var) in "man > zshparam". What does > > echo $CDPATH > or > echo $cdpath > Arghh!!! Thanks zzapper ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-01-10 16:05 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2014-01-10 15:17 cd to nearest directory zzapper 2014-01-10 15:46 ` Peter Stephenson 2014-01-10 15:51 ` Kurtis Rader 2014-01-10 16:05 ` zzapper
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).