From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10686 invoked from network); 11 Mar 2004 15:56:01 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 11 Mar 2004 15:56:01 -0000 Received: (qmail 24914 invoked by alias); 11 Mar 2004 15:55:37 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7146 Received: (qmail 24893 invoked from network); 11 Mar 2004 15:55:36 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 11 Mar 2004 15:55:36 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [140.78.161.123] by sunsite.dk (MessageWall 1.0.8) with SMTP; 11 Mar 2004 15:55:34 -0000 Received: from nanni.riic.uni-linz.ac.at.riic.at (nanni.riic.uni-linz.ac.at [140.78.161.79]) by proxy.riic.at (8.12.7/8.12.7/SuSE Linux 0.6) with ESMTP id i2BFtVmJ032116 for ; Thu, 11 Mar 2004 16:55:31 +0100 From: =?iso-8859-1?q?Stefan_Reich=F6r?= To: zsh-users@sunsite.dk Subject: Re: cd completion and CDABLE_VARS In-Reply-To: <17205.1079019918@csr.com> (Peter Stephenson's message of "Thu, 11 Mar 2004 15:45:18 +0000") References: <17205.1079019918@csr.com> Date: Thu, 11 Mar 2004 16:55:06 +0100 Message-ID: User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by AMaViS - amavis-milter (http://www.amavis.org/) Hi Peter! >> I am looking for a step by step guide (a tutorial) to get some funky >> completions working. Does something like this exist? > > Try http://www.zsh.sunsite.dk/Guide/ chapter 6, although that's not > perfect. Thanks, http://zsh.sunsite.dk/Guide/zshguide06.html seems to be a good starting point > Otherwise wait for the forthcoming `From Bash to Zsh: Conquring the > Command Line' by Kiddle, Peek and Stephenson, due from Apress in June. Sounds interesting >> > zstyle ':completion:*:complete:(cd|pushd):*' tag-order \ >> > 'local-directories path-directories directory-stack' 'named-directories' >> >> I tried to use this but it seems to have no effect. > > Yep, sorry, you need: > > zstyle ':completion:*:complete:(cd|pushd):*' tag-order - \ > 'local-directories path-directories directory-stack' 'named-directories' > > The `-' means don't try anything else, otherwise they are added at the > end of the list. This is in the manual entry for the tag-order style. Yepp. That works :-) A minor issue is, that ^xh still shows the users tag. Stefan.