From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8696 invoked from network); 18 Oct 1999 09:51:06 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 18 Oct 1999 09:51:06 -0000 Received: (qmail 26808 invoked by alias); 18 Oct 1999 09:51:00 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8318 Received: (qmail 26799 invoked from network); 18 Oct 1999 09:50:59 -0000 From: "Bart Schaefer" Message-Id: <991018095051.ZM29043@candle.brasslantern.com> Date: Mon, 18 Oct 1999 09:50:51 +0000 In-Reply-To: <199910180838.KAA25889@beta.informatik.hu-berlin.de> Comments: In reply to Sven Wischnowsky "RE: PATCH: Re: _match still does not work in _path_files" (Oct 18, 10:38am) References: <199910180838.KAA25889@beta.informatik.hu-berlin.de> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.auc.dk Subject: Re: PATCH: Re: _match still does not work in _path_files MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Oct 18, 10:38am, Sven Wischnowsky wrote: } Subject: RE: PATCH: Re: _match still does not work in _path_files } } The patch below implements some kind of mixed-matching style. Even } with glob-complete behaviour it will try to match the prefix using the } match specs currently in effect. This is as far as we can get. Is it } enough? There's still one thing that bothers me; it's probably not related. With the default compconfig: zagzig% cd /u/l/s/z/f/ Fails to complete to /usr/local/share/zsh/functions/. The problem is that _path_files wants there to be something after the final slash that is a fragment of a directory name. I vaguely recall some discussion of a compconfig for something like this, but if there is one I can't find it -- and given that "cd" doesn't care if the trailing slash is there, shouldn't this work by default anyway? -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com