Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Completion: setting up _approximate.
- X-seq: zsh-users 22774
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Completion: setting up _approximate.
- Date: Sun, 9 Jul 2017 09:32:55 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=PRbRZCFM8n384Ae5Q9AWS2eYSM10SNBN67+e7PzWUfc=; b=xveDb/mB0wq2aqAiKC03Gc0+3qxSIFZoP0LD1/IOJaG7HidHP9wMWIzo+w+0mZCtMO z5QjiG/xe+FEv6pPBF22NaT+U1ymPXGDhhtSTY1Eo0Y44b2hCc4sTFy2YU1m0RBgAYBC YIZ5U7ApZOpXL4TRjOh1niixQLG9AFzRTcXjWkf9bQrqoS9PbypyRQGaqqDOjK64dnW7 TLzNtcj1S1XwqFaqtAtwQpvWTPemHBo59TIaWs1t+dAbjbb8Q0eUR8iiVStYqmAZ65yo 946963AZMV+42CPJEVHNzh0cfqIpZaR7ZXQ4YeiFILyoOoMZfDb56CkOrck7uXuTccpY 95JA==
- In-reply-to: <28518.1499598709@thecus.kiddle.eu>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20170707091759.6m5vfr4qwesmumi5@calculator> <CAH+w=7YUOO0efSUgoZqxaYHE3MY6_71Nghz8Bsr18eE1UJMBbA@mail.gmail.com> <28518.1499598709@thecus.kiddle.eu>
On Sun, Jul 9, 2017 at 4:11 AM, Oliver Kiddle <okiddle@xxxxxxxxxxx> 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?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author