From 4414e16a6a958c39209f37f7f7a6fae6b1b78864 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Thu, 4 May 2000 07:44:21 +0000 Subject: don't list when all matches look the same; force-list style to give users control over this (11140) --- Doc/Zsh/compsys.yo | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Doc/Zsh/compsys.yo') 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 -- cgit 1.4.1