diff options
Diffstat (limited to 'Completion/Core/_main_complete')
-rw-r--r-- | Completion/Core/_main_complete | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Core/_main_complete b/Completion/Core/_main_complete index 890638d60..2a1477e04 100644 --- a/Completion/Core/_main_complete +++ b/Completion/Core/_main_complete @@ -140,7 +140,7 @@ if [[ $compstate[old_list] = keep || $compstate[nmatches] -gt 1 ]]; then else sel=( "${(@M)_menu_style:#select*}" ) - if (( $# )); then + if (( $#sel )); then local min=9999999 i num for i in "$sel[@]"; do |