From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2539 invoked from network); 13 Mar 2005 04:51:00 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 13 Mar 2005 04:51:00 -0000 Received: (qmail 54098 invoked from network); 13 Mar 2005 04:50:54 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 13 Mar 2005 04:50:54 -0000 Received: (qmail 27166 invoked by alias); 13 Mar 2005 04:50:45 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8592 Received: (qmail 27152 invoked from network); 13 Mar 2005 04:50:44 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 13 Mar 2005 04:50:44 -0000 Received: (qmail 53187 invoked from network); 13 Mar 2005 04:50:44 -0000 Received: from vms046pub.verizon.net (206.46.252.46) by a.mx.sunsite.dk with SMTP; 13 Mar 2005 04:50:40 -0000 Received: from candle.brasslantern.com ([4.11.1.68]) by vms046.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0ID900HIAXGET7S1@vms046.mailsrvcs.net> for zsh-users@sunsite.dk; Sat, 12 Mar 2005 22:50:39 -0600 (CST) Received: from candle.brasslantern.com (IDENT:schaefer@localhost [127.0.0.1]) by candle.brasslantern.com (8.12.11/8.12.11) with ESMTP id j2D4obxf012715 for ; Sat, 12 Mar 2005 20:50:37 -0800 Received: (from schaefer@localhost) by candle.brasslantern.com (8.12.11/8.12.11/Submit) id j2D4ob28012714 for zsh-users@sunsite.dk; Sat, 12 Mar 2005 20:50:37 -0800 Date: Sun, 13 Mar 2005 04:50:36 +0000 From: Bart Schaefer Subject: Re: TAB-expansion problems In-reply-to: <20050311.193734.78721293.Meino.Cramer@gmx.de> To: zsh-users@sunsite.dk Message-id: <1050313045036.ZM12713@candle.brasslantern.com> MIME-version: 1.0 X-Mailer: Z-Mail (5.0.0 30July97) Content-type: text/plain; charset=us-ascii References: <20050310.194249.41192134.Meino.Cramer@gmx.de> <1050311051417.ZM9377@candle.brasslantern.com> <20050311.193734.78721293.Meino.Cramer@gmx.de> Comments: In reply to Meino Christian Cramer "TAB-expansion problems" (Mar 11, 7:37pm) X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 On Mar 11, 7:37pm, Meino Christian Cramer wrote: } } Suppose I am at my $HOME/tmp/. directory. Furthermore there is only } ONE additional directory called "TheLonelyOne" there. And I want to } to change into that directory. As a lazy person now I would type on } the commandline } } cd } } and want to get } } cd TheLonelyOne } } then instead all worldwide reachable directories as a suggestion. As Tim Kruse has said, the likelyhood here is that zsh is suggesting subdirectories of the directories listed in your cdpath. If you add the following style you'll get better information: zstyle ':completion:*' format '%SCompleting %U%d%u%s' After you've tried that, so you've seen what's going on, you can then add this style: zstyle :completion::complete:cd:: tag-order \ local-directories path-directories The tag-order style controls which sets of matches are displayed. In the example above, local-directories are preferred, and only when no local directories are found are path-directories (those found along your cdpath) shown. The default is to display all sets of matches at the same time. } From my current point of knowledge I didn't neither know the correct } naming for that behaviour It's "completion".