zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Zsh Users <zsh-users@zsh.org>
Subject: Re: Completion: setting up _approximate.
Date: Sun, 9 Jul 2017 09:32:55 -0700	[thread overview]
Message-ID: <CAH+w=7Yu4gMWMXow1Ast0KigmhjODnMGG3EWNbqzaMRdby=3ng@mail.gmail.com> (raw)
In-Reply-To: <28518.1499598709@thecus.kiddle.eu>

On Sun, Jul 9, 2017 at 4:11 AM, Oliver Kiddle <okiddle@yahoo.co.uk> wrote:
>
> In general if using _approximate, it is a good idea to exclude it from
> matcher-list styles to avoid it being too agressive:
>
>   zstyle ':completion:*:(^approximate):*' matcher-list....

It appears that _approximate itself skips all the matchers after the
first one -- I do not recall why this was done, but if your
matcher-list starts with empty string (for "keep exact matches") then
_approximate won't run amok.  Anyone able to confirm this?


      parent reply	other threads:[~2017-07-10  2:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-07  9:17 Kamil
2017-07-08 21:24 ` Bart Schaefer
2017-07-09  4:30   ` Kamil
2017-07-09 16:47     ` Bart Schaefer
2017-07-10  8:16       ` Kamil
2017-07-09 11:11   ` Oliver Kiddle
2017-07-09 12:08     ` Kamil
2017-07-09 14:58       ` Daniel Shahaf
2017-07-09 16:32     ` Bart Schaefer [this message]

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='CAH+w=7Yu4gMWMXow1Ast0KigmhjODnMGG3EWNbqzaMRdby=3ng@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=zsh-users@zsh.org \
    /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).