summaryrefslogtreecommitdiffstats
path: root/Completion/Core/_main_complete
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-04-05 10:50:08 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-04-05 10:50:08 +0000
commitf7a52cda469fd0a1b7198342fc052ef64ab70e8f (patch)
treecf36f8218922439ae64948f8e8f48a97de6105b6 /Completion/Core/_main_complete
parentmake zwc files use the magic number as their verios, report zsh-version in er... (diff)
downloadzsh-f7a52cda469fd0a1b7198342fc052ef64ab70e8f.tar
zsh-f7a52cda469fd0a1b7198342fc052ef64ab70e8f.tar.gz
zsh-f7a52cda469fd0a1b7198342fc052ef64ab70e8f.tar.bz2
zsh-f7a52cda469fd0a1b7198342fc052ef64ab70e8f.tar.lz
zsh-f7a52cda469fd0a1b7198342fc052ef64ab70e8f.tar.xz
zsh-f7a52cda469fd0a1b7198342fc052ef64ab70e8f.tar.zst
zsh-f7a52cda469fd0a1b7198342fc052ef64ab70e8f.zip
two small completion fixes
Diffstat (limited to 'Completion/Core/_main_complete')
-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 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