From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7243 invoked from network); 11 Mar 2004 15:45:51 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 11 Mar 2004 15:45:51 -0000 Received: (qmail 19225 invoked by alias); 11 Mar 2004 15:45:21 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7145 Received: (qmail 19203 invoked from network); 11 Mar 2004 15:45:20 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 11 Mar 2004 15:45:20 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [62.189.58.19] by sunsite.dk (MessageWall 1.0.8) with SMTP; 11 Mar 2004 15:45:20 -0000 Received: from MAILSWEEPER01.csr.com (mailhost1.csr.com [62.189.183.235]) by lhuumrelay3.lnd.ops.eu.uu.net (8.11.0/8.11.0) with ESMTP id i2BFjJv10817 for ; Thu, 11 Mar 2004 15:45:19 GMT Received: from EXCHANGE02.csr.com (unverified [192.168.137.45]) by MAILSWEEPER01.csr.com (Content Technologies SMTPRS 4.3.12) with ESMTP id for ; Thu, 11 Mar 2004 15:44:58 +0000 Received: from csr.com ([192.168.144.127]) by EXCHANGE02.csr.com with Microsoft SMTPSVC(5.0.2195.6713); Thu, 11 Mar 2004 15:47:18 +0000 To: zsh-users@sunsite.dk Subject: Re: cd completion and CDABLE_VARS In-reply-to: "=?iso-8859-1?q?Stefan_Reich=F6r?="'s message of "Thu, 11 Mar 2004 16:28:46 +0100." Date: Thu, 11 Mar 2004 15:45:18 +0000 Message-ID: <17205.1079019918@csr.com> From: Peter Stephenson X-OriginalArrivalTime: 11 Mar 2004 15:47:18.0788 (UTC) FILETIME=[226B4440:01C40780] > 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. Otherwise wait for the forthcoming `From Bash to Zsh: Conquring the Command Line' by Kiddle, Peek and Stephenson, due from Apress in June. > > 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. -- Peter Stephenson Software Engineer CSR Ltd., Science Park, Milton Road, Cambridge, CB4 0WH, UK Tel: +44 (0)1223 692070 ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com **********************************************************************