zsh-users
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-users@sunsite.auc.dk
Subject: Re: different kind of glob_complete?
Date: Mon, 6 Sep 1999 11:13:54 +0200 (MET DST)	[thread overview]
Message-ID: <199909060913.LAA29609@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Will Day's message of Fri, 3 Sep 1999 13:28:21 -0400


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


             reply	other threads:[~1999-09-06  9:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-06  9:13 Sven Wischnowsky [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-09-03  7:41 Sven Wischnowsky
1999-09-03  9:31 ` Bart Schaefer
1999-09-03  9:45   ` Andrej Borsenkow
1999-09-03 14:40   ` Bart Schaefer
1999-09-03 17:28 ` Will Day
1999-09-03  4:39 Will Day
1999-09-03  5:25 ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199909060913.LAA29609@beta.informatik.hu-berlin.de \
    --to=wischnow@informatik.hu-berlin.de \
    --cc=zsh-users@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).