about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Completion/Core/_main_complete2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Core/_main_complete b/Completion/Core/_main_complete
index a5af32f0f..63d785686 100644
--- a/Completion/Core/_main_complete
+++ b/Completion/Core/_main_complete
@@ -133,7 +133,7 @@ if [[ -n "$tmp" || $compstate[old_list] = keep ||
 
   _menu_style=( "$_menu_style[@]" "$_def_menu_style[@]" )
 
-  if [[ "$compstate[insert]" = *menu ]]; then
+  if [[ "$compstate[insert]" = *menu* ]]; then
     if [[ -n "$_menu_style[(r)no-select*]" ]]; then
       unset SELECTMIN
     else