about summary refs log tree commit diff
path: root/Completion/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 /Completion/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 'Completion/Zsh')
-rw-r--r--Completion/Zsh/Command/_zstyle5
1 files changed, 5 insertions, 0 deletions
diff --git a/Completion/Zsh/Command/_zstyle b/Completion/Zsh/Command/_zstyle
index 99ee8f72b..db4d6604b 100644
--- a/Completion/Zsh/Command/_zstyle
+++ b/Completion/Zsh/Command/_zstyle
@@ -80,6 +80,7 @@ styles=(
   matcher		 c:
   matcher-list		 c:
   max-errors		 c:
+  max-match-length       c:max-match-length
   menu			 c:boolauto
   muttrc                 c:_files
   numbers		 c:bool
@@ -382,6 +383,10 @@ while (( $#state )); do
       _message -e separators 'separator string'
       ;;
 
+    max-match-length)
+      _message -e numbers 'maximum display length for matches'
+      ;;
+
     urgh) 
       _wanted values expl no compadd no false off 0
       ;;