diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2000-02-11 11:14:51 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-02-11 11:14:51 +0000 |
commit | 3076ed44d33ac699b306824214951c436c4a7a4e (patch) | |
tree | 2c743b047da4a14c36586dbf5011d80cc09e86b2 /Doc/Zsh/compctl.yo | |
parent | 55b8857726ee7daf75b3dc1c1dd3ca4235868fd3 (diff) | |
download | zsh-3076ed44d33ac699b306824214951c436c4a7a4e.tar.gz zsh-3076ed44d33ac699b306824214951c436c4a7a4e.tar.xz zsh-3076ed44d33ac699b306824214951c436c4a7a4e.zip |
zsh-workers/9677
Diffstat (limited to 'Doc/Zsh/compctl.yo')
-rw-r--r-- | Doc/Zsh/compctl.yo | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/Doc/Zsh/compctl.yo b/Doc/Zsh/compctl.yo index b65666d5d..e8e47b1a2 100644 --- a/Doc/Zsh/compctl.yo +++ b/Doc/Zsh/compctl.yo @@ -131,10 +131,19 @@ the default. In other words, completion will subsequently use the options specified by the tt(-D) flag. The form with tt(-M) as the first and only option defines global -matching specifications, as described in +matching specifications (see ifzman(zshcompwid)\ ifnzman(noderef(Matching Control))\ -. +). The match specifications given will be used for every completion +attempt (only when using tt(compctl), not with the new completion +system) and are tried in the order in which they are defined until one +generates at least one match. E.g.: + +example(compctl -M '' 'm:{a-zA-Z}={A-Za-z}') + +This will first try completion without any global match specifications +(the empty string) and, if that generates no matches, will try case +insensitive completion. texinode(Option Flags)(Alternative Completion)(Command Flags)(Programmable Completion Using compctl) sect(Option Flags) |