1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-01 06:20:55 +01:00

users/11575: improved documentation for _all_matches

This commit is contained in:
Peter Stephenson 2007-06-16 17:53:55 +00:00
parent 536a8cb6da
commit d59d9da6aa
2 changed files with 14 additions and 2 deletions

View file

@ -2726,9 +2726,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))(