summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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