Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Completion: setting up _approximate.



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