From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11061 invoked from network); 23 Aug 1999 14:04:30 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 23 Aug 1999 14:04:30 -0000 Received: (qmail 4645 invoked by alias); 23 Aug 1999 14:04:13 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2499 Received: (qmail 4636 invoked from network); 23 Aug 1999 14:04:12 -0000 Date: Mon, 23 Aug 1999 16:03:16 +0200 From: Dominik Vogt To: wischnow@informatik.hu-berlin.de, zsh-users@sunsite.auc.dk Subject: Re: cd directory completion? Message-ID: <19990823160316.L32224@hp.com> References: <199908231326.PAA03303@beta.informatik.hu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <199908231326.PAA03303@beta.informatik.hu-berlin.de>; from wischnow@informatik.hu-berlin.de on Mon, Aug 23, 1999 at 03:26:11PM +0200 On Mon, Aug 23, 1999 at 03:26:11PM +0200, wischnow@informatik.hu-berlin.de wrote: > > Dominik Vogt wrote: > > > 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? > > The simplest solution: compctl -/ cd Um, I think that's not the correct syntax, at least not for 3.0.6: # compctl -/ cd compctl: bad option: -/ I'll settle for compctl -n -g '*(-/) .*(-/) cd pushd instead. Many thanks Bye Dominik ^_^ -- Dominik Vogt, Hewlett-Packard GmbH, Dept. BVS Herrenberger Str.130, 71034 Boeblingen, Germany phone: 07031/14-4596, fax: 07031/14-3883, dominik_vogt@hp.com