From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17485 invoked from network); 6 Sep 1999 09:14:20 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 6 Sep 1999 09:14:20 -0000 Received: (qmail 24479 invoked by alias); 6 Sep 1999 09:13:56 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2574 Received: (qmail 24472 invoked from network); 6 Sep 1999 09:13:56 -0000 Date: Mon, 6 Sep 1999 11:13:54 +0200 (MET DST) Message-Id: <199909060913.LAA29609@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-users@sunsite.auc.dk In-reply-to: Will Day's message of Fri, 3 Sep 1999 13:28:21 -0400 Subject: Re: different kind of glob_complete? Will Day wrote: > A short time ago, at a computer terminal far, far away, Sven Wischnowsky wr= > ote: > >And, of course for the new completion system it's already there, just > >use the `_match' completer with a configuration of `match_original=3Donly' > >or `match_original=3Dyes'. > > > >So, yes, the code in tricky.c can do this now (this was added in > >5871), but I didn't change the behavior of compctl-style completion. > >We could add an option to allow this for it, but should we? Or may > >this be an incentive to go to the new completion system? > > I haven't been keeping up with the discussion about the new completion, so > I'm not familiar with how it works differently. Perhaps, indeed, this is a > good incentive for me to check it out. As an intro example, how would I go > about configuring the behavior I was looking for? You just install the completion system as described at the top of the `zshcompsys' manual page and after that add this to your .zshrc: compconf completer=_complete:_match \ match_original=yes which gives the behaviour to first try it without inserting a `*' and if that fails, it will try completion again with a `*' inserted at the cursor position. This configuration key is desribed at the description for the `_match' completer in `zshcompsys'. Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de