about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-22 13:55:57 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-22 13:55:57 +0000
commit30d8c239818ae93c574e046bcc4c07d63ff9017c (patch)
treeec733dda248f59ce67a2f4d937f557fd643ffa2b
parent57658af8a516811b6bada66ee247a570213ae06d (diff)
downloadzsh-30d8c239818ae93c574e046bcc4c07d63ff9017c.tar.gz
zsh-30d8c239818ae93c574e046bcc4c07d63ff9017c.tar.xz
zsh-30d8c239818ae93c574e046bcc4c07d63ff9017c.zip
another fix for `select=long*' in menu style (11500)
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Core/_main_complete3
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 06ad5d3b4..c28be10af 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2000-05-22  Sven Wischnowsky  <wischnow@zsh.org>
 
+	* 11500: Completion/Core/_main_complete: another fix for
+ 	`select=long*' in menu style
+	
 	* 11497: Completion/Core/_main_complete: fix for select-long-list
  	in menu style
 	
diff --git a/Completion/Core/_main_complete b/Completion/Core/_main_complete
index bb10706d8..a9a1d2a9a 100644
--- a/Completion/Core/_main_complete
+++ b/Completion/Core/_main_complete
@@ -194,7 +194,8 @@ if [[ $compstate[old_list] = keep || nm -gt 1 ]]; then
         zmodload -i zsh/complist
         MENUSELECT=0
       fi
-    else
+    fi
+    if [[ "$MENUSELECT" != 0 ]]; then
       sel=( "${(@M)_menu_style:#select*}" )
 
       if (( $#sel )); then