about summary refs log tree commit diff
path: root/Doc/Zsh/compsys.yo
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-04 07:44:21 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-04 07:44:21 +0000
commit4414e16a6a958c39209f37f7f7a6fae6b1b78864 (patch)
treeb687f97b33167d38a881d207cb00b8d8331ead51 /Doc/Zsh/compsys.yo
parent74106447f64bb1bfb71a3c95f249e4f9f97d4a86 (diff)
downloadzsh-4414e16a6a958c39209f37f7f7a6fae6b1b78864.tar.gz
zsh-4414e16a6a958c39209f37f7f7a6fae6b1b78864.tar.xz
zsh-4414e16a6a958c39209f37f7f7a6fae6b1b78864.zip
don't list when all matches look the same; force-list style to give users control over this (11140)
Diffstat (limited to 'Doc/Zsh/compsys.yo')
-rw-r--r--Doc/Zsh/compsys.yo12
1 files changed, 12 insertions, 0 deletions
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index b3402d664..0c5d02f08 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -1033,6 +1033,18 @@ time. Any other value (or not setting this style at all) makes them be
 sorted alphabetically by name. If the value contains the string
 `tt(reverse)', sorting is done in decreasing order.
 )
+kindex(force-list, completion style)
+item(tt(force-list))(
+If the completion code would show a list of completions at all, this
+style controls whether the list is shown even in cases when it would
+normally not do that. For example, normally the list is only shown if
+there are at least to different matches. By setting this style to
+`tt(always)', the list will always even be shown, even if there is
+only a single match which is immediately accepted. The style may also
+be set to a number. In this case the list will be shown if there are
+at least that many matches, even if they would all insert the same
+string.
+)
 kindex(format, completion style)
 item(tt(format))(
 If this is set for the tt(descriptions) tag, its value is used as a