From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7093 invoked from network); 28 Jan 1998 09:45:10 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 28 Jan 1998 09:45:10 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id EAA22050; Wed, 28 Jan 1998 04:30:19 -0500 (EST) Resent-Date: Wed, 28 Jan 1998 04:29:52 -0500 (EST) Message-ID: <19980128103126.19674@willkuere.informatik.uni-wuerzburg.de> Date: Wed, 28 Jan 1998 10:31:26 +0100 From: Thomas Koehler To: zsh-users@math.gatech.edu Cc: Wessel Dankers Subject: Re: Completion on cd References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69e In-Reply-To: ; from Wessel Dankers on Tue, Jan 27, 1998 at 11:45:38PM +0100 X-Operating-System: Linux willkuere 2.0.32 #4 Fri Jan 9 15:55:29 MET 1998 i486 Resent-Message-ID: <"YhwaF2.0.uN5.Gglpq"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1287 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On Tue, Jan 27, 1998 at 11:45:38PM +0100, Wessel Dankers wrote: > Hi! > > Exploring compctl, I wanted to do completion on cd. So I used the obvious > command: > > compctl -g '*(-/)' cd > > which gives me what I want... almost. If I enter: > > cd . > > I get no completions. OK, I thought, let's try a different approach. What about compctl -g '*(-/) .*(-/)' cd This should work. CU, Thomas