From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 893 invoked from network); 11 Jun 2002 11:55:33 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 11 Jun 2002 11:55:32 -0000 Received: (qmail 11249 invoked by alias); 11 Jun 2002 11:55:17 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5048 Received: (qmail 11236 invoked from network); 11 Jun 2002 11:55:16 -0000 From: Sven Wischnowsky MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15621.58685.869670.979473@wischnow.berkom.de> Date: Tue, 11 Jun 2002 13:55:41 +0200 To: zsh-users@sunsite.dk Subject: Re: Completion question In-Reply-To: <200206111140.NAA15875@numa1.igpm.rwth-aachen.de> References: <200206111140.NAA15875@numa1.igpm.rwth-aachen.de> X-Mailer: VM 7.03 under 21.5 (patch 5) "beets" XEmacs Lucid jarausch@igpm.rwth-aachen.de wrote: > is there any simple means to enable filename completion > in situations like this one > > export PATH=/usr/local/lib/libper > > I always have to first insert a blank after '=' > and then remove it after completion. > Can I tell the completion system to 'split' after > a certain character (like '=') here. With `completion system', do you mean the new, function-based one? That does all this automatically for me. Even recognising that $PATH gets a colon-separated list of directories. If you are using compctl (which you shouldn't), use something like: compctl -v -x 'C[0,*:*] n[-1,:]' -f - 'C[0,*=*] n[1,=]' -f -- export (I think it was...) Bye Sven -- Sven Wischnowsky wischnow@berkom.de