From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11276 invoked from network); 23 Aug 1999 14:19:11 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 23 Aug 1999 14:19:11 -0000 Received: (qmail 7054 invoked by alias); 23 Aug 1999 14:18:44 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2503 Received: (qmail 7044 invoked from network); 23 Aug 1999 14:18:43 -0000 Date: Mon, 23 Aug 1999 16:09:40 +0200 (MET DST) From: Swen Thuemmler Sender: swen@uni-paderborn.de To: Dominik Vogt cc: zsh-users@sunsite.auc.dk Subject: Re: cd directory completion? In-Reply-To: <19990823160316.L32224@hp.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 23 Aug 1999, Dominik Vogt wrote: > 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 Hmm. I don't know if it does in 3.0.6, but in 3.1.5, this does not complete .., so you always have to add the '/' if you want to cd ../something. I use the following: compctl -g '*(-/)' + -g '..' + -g '.*(-/)' cd chdir dirs pushd Greetings, Swen