diff options
author | Paul Ackersviller <packersv@users.sourceforge.net> | 2007-11-19 00:58:38 +0000 |
---|---|---|
committer | Paul Ackersviller <packersv@users.sourceforge.net> | 2007-11-19 00:58:38 +0000 |
commit | 1de8a93a42172c67e64ba76bd07c8ea0f3c94db4 (patch) | |
tree | d3c5bbc6091ab7c99ada90845c402351b0a1d07d /Doc/Zsh | |
parent | 5cceac415dc11a56494a35bb65d33a7e01fc9b35 (diff) | |
download | zsh-1de8a93a42172c67e64ba76bd07c8ea0f3c94db4.tar.gz zsh-1de8a93a42172c67e64ba76bd07c8ea0f3c94db4.tar.xz zsh-1de8a93a42172c67e64ba76bd07c8ea0f3c94db4.zip |
Merge of users/11575: document use of additional completers and insert style with _all_matches.
Diffstat (limited to 'Doc/Zsh')
-rw-r--r-- | Doc/Zsh/compsys.yo | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo index 9b2063209..16c25fc0c 100644 --- a/Doc/Zsh/compsys.yo +++ b/Doc/Zsh/compsys.yo @@ -2728,9 +2728,16 @@ bindkey '^Xa' all-matches zstyle ':completion:all-matches:*' old-matches only zstyle ':completion:all-matches::::' completer _all_matches) -Note that this does not generate completions by itself. First use +Note that this does not generate completions by itself: first use any of the standard ways of generating a list of completions, -then use tt(^Xa) to show all matches. +then use tt(^Xa) to show all matches. It is possible instead to +add a standard completer to the list and request that the +list of all matches should be directly inserted: + +example(zstyle ':completion:all-matches::::' completer _all_matches _complete +zstyle ':completion:all-matches:*' insert true) + +In this case the tt(old-matches) style should not be set. ) findex(_approximate) item(tt(_approximate))( |