Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
completion
- X-seq: zsh-users 19517
- From: Ray Andrews <rayandrews@xxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: completion
- Date: Wed, 10 Dec 2014 15:15:32 -0800
- 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
Peter, Oliver:
In chapter 10 of 'the book', at one point you start doing this:
zstyle ':completion:::::' completer _complete _approximate
... I missed any leading explanation of what those five colons
are doing.
Playing with matcher-list, you have some good ideas there.
I currently have all that completion/matcher stuff copied in
from some website of sample .zshrc's and it was all taken on
faith, since I hadn't the slightest clue how all that stuff works.
Since I'm now trying to understand it, the current line I have
contains this:
zstyle ':completion:*' matcher-list ... 'r:|[._-]=* r:|=* l:|=*'
... at the risk of insanity, what is that incantation doing, and
do I want it? Gentle generalities are fine.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author