about summary refs log tree commit diff
path: root/Doc/Zsh
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2002-05-14 08:01:12 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2002-05-14 08:01:12 +0000
commitb0e4b61a82e9a9ee162832ac862a9faf5ec9bd85 (patch)
tree33d5f98ebba1c0720d25fb5771963c616d10d680 /Doc/Zsh
parent1acda13c7048d2d994f49f4c9f29f79421b1dab8 (diff)
downloadzsh-b0e4b61a82e9a9ee162832ac862a9faf5ec9bd85.tar.gz
zsh-b0e4b61a82e9a9ee162832ac862a9faf5ec9bd85.tar.xz
zsh-b0e4b61a82e9a9ee162832ac862a9faf5ec9bd85.zip
allow users to give the maximum number of display-columns the matches should take up via the style currently named max-match-length (17147)
Diffstat (limited to 'Doc/Zsh')
-rw-r--r--Doc/Zsh/compsys.yo14
1 files changed, 14 insertions, 0 deletions
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index 200f83532..ad43e19ab 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -1766,6 +1766,20 @@ performed.
 
 The default value for this style is `tt(2 numeric)'.
 )
+kindex(max-match-length, completion style)
+item(tt(max-match-length))(
+This is used to define the maximum length to use for the matches when
+listing matches with descriptions. In such lists, matches with the
+same description will be grouped together, but that means that in
+cases where many matches have the same description, the matches take
+up most of the display width, leaving only little room for the
+descriptions. By setting this style one can specify whether one
+prefers to make more matches be grouped together or whether the shell
+should try keep more of the descriptions visible. 
+
+The value should give the maximum number of display columns to give to
+the matches, the default is half the screen width.
+)
 kindex(menu, completion style)
 item(tt(menu))(
 If this is set to true in a given context, using any of the tags defined