From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3823 invoked from network); 18 Jun 2001 07:52:35 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 18 Jun 2001 07:52:35 -0000 Received: (qmail 29079 invoked by alias); 18 Jun 2001 07:51:48 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3933 Received: (qmail 29067 invoked from network); 18 Jun 2001 07:51:47 -0000 From: Sven Wischnowsky Date: Mon, 18 Jun 2001 09:50:41 +0200 (MET DST) Message-Id: <200106180750.JAA11537@beta.informatik.hu-berlin.de> To: zsh-users@sunsite.dk Subject: Re: .. completion In-Reply-To: <20010616195236.A18024@camelot.de> Danijel Tasov wrote: > Hello World, > > I'm an enthused zsh-user. > > I have a Problem with compctl. I don't use any completion > control, but there is something that bothers me. > > When I type /us it will be completed to /usr/ when pressing TAB, > but .. will not be completed to ../ like in tcsh. I'm sure there > is one, but compctl is very cryptic to me, and this is the only > thing I miss. Bart already pointed you to the new completion system. If, for some reason, you can't use that, the way to make completion with compctl accept `..' as a possible match (which in turn makes it add the slash) is to add `-g ".."' to all your compctl's that generate filenames as possible matches (using the -f, -/ or -g options -- in the last case you can just add the `..' to -g's already existing argument). Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de