From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10727 invoked from network); 23 Aug 1999 13:27:33 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 23 Aug 1999 13:27:33 -0000 Received: (qmail 189 invoked by alias); 23 Aug 1999 13:26:42 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2497 Received: (qmail 178 invoked from network); 23 Aug 1999 13:26:41 -0000 Date: Mon, 23 Aug 1999 14:26:26 +0100 (BST) From: John Riddoch Reply-To: John Riddoch Subject: Re: cd directory completion? To: dominik.vogt@gmx.de Cc: zsh-users@sunsite.auc.dk MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: F80FmCRIbUEeEXYWmZyo7Q== X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.3.4 SunOS 5.7 sun4m sparc Message-ID: <19990823132626.Y7kAx-b-AI0VMwgraIEeojSIoSm7sl4sOMZn6GXbOKM@z> >I'd like to have cd complete directory names as well as >symlinks that point to directories (zsh-3.0.6). Is there >a way to do this without writing a completion function? >(And I don't want to fiddle with any 'chase symlink' setting >there may be - I like them the way they are). I couldn't >find anything appropriate in the man page. If it's not >possible without a function, has anybody written one and >can send it to me? I have: compctl -g '*(-/)' + -g '.*(-/)' -v cd pushd rmdir in my .zshrc file and it works fine for me, completing between dirs and symlinks to dirs and ignoring files. I think I got it from www.dotfiles.com >P.S.: please CC me on replies, I'm not on the list. Well, you probably should be... -- John Riddoch Email: jr@scms.rgu.ac.uk Telephone: (01224)262721 Room C6, School of Computer and Mathematical Science Robert Gordon University, Aberdeen, AB25 1HG I am Homer of Borg. Resistance is Fu... Ooooh! Donuts!