diff options
author | Andrey Borzenkov <bor@users.sourceforge.net> | 2001-03-06 07:47:26 +0000 |
---|---|---|
committer | Andrey Borzenkov <bor@users.sourceforge.net> | 2001-03-06 07:47:26 +0000 |
commit | eeebe3e4ec8365c038aa6186036f303a3caebe2b (patch) | |
tree | 4acebbb3327620137718c534616dcea6fc43802a /Doc/Zsh | |
parent | 3e6563dd039f84990060674890c9ce9b32fd68ce (diff) | |
download | zsh-eeebe3e4ec8365c038aa6186036f303a3caebe2b.tar.gz zsh-eeebe3e4ec8365c038aa6186036f303a3caebe2b.tar.xz zsh-eeebe3e4ec8365c038aa6186036f303a3caebe2b.zip |
13544, 13568 (Peter): + syntax for matchers in matcher-list to augment
previous list
Diffstat (limited to 'Doc/Zsh')
-rw-r--r-- | Doc/Zsh/compsys.yo | 7 |
1 files changed, 7 insertions, 0 deletions
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 |