From eeebe3e4ec8365c038aa6186036f303a3caebe2b Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Tue, 6 Mar 2001 07:47:26 +0000 Subject: 13544, 13568 (Peter): + syntax for matchers in matcher-list to augment previous list --- Doc/Zsh/compsys.yo | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Doc') diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo index de6c9e73e..f03037ff5 100644 --- a/Doc/Zsh/compsys.yo +++ b/Doc/Zsh/compsys.yo @@ -1556,6 +1556,13 @@ completion one would do: example(zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}') +By default every specification replaces previous ones. If specification +is prefixed with tt(+), it is added to the existing list. This allows +testing more general patterns without repeating the whole list every +time, as in: + +example(zstyle ':completion:*' matcher-list '' '+m{a-Z}={A-Z}' '+m{A-Z}={a-z}') + The style allows even finer control by specifying a particular completer, without the leading underscore, in the third field of the completion context. For example, if one uses the completers tt(_complete) and -- cgit 1.4.1