about summary refs log tree commit diff
path: root/Completion/Builtins
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-08-19 14:41:32 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-08-19 14:41:32 +0000
commit6adafae34f2e04d2340b36e514ff190bdbab2e6b (patch)
treef67d763c7d6d0ff27a3447376023b97cfee11898 /Completion/Builtins
parent5460b0d4b805b372fee95bde1abb1af144fb4960 (diff)
downloadzsh-6adafae34f2e04d2340b36e514ff190bdbab2e6b.tar.gz
zsh-6adafae34f2e04d2340b36e514ff190bdbab2e6b.tar.xz
zsh-6adafae34f2e04d2340b36e514ff190bdbab2e6b.zip
zsh-workers/7450
Diffstat (limited to 'Completion/Builtins')
-rw-r--r--Completion/Builtins/_zmodload4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Builtins/_zmodload b/Completion/Builtins/_zmodload
index 9bac1484e..a4f13c0ed 100644
--- a/Completion/Builtins/_zmodload
+++ b/Completion/Builtins/_zmodload
@@ -7,8 +7,8 @@ if [[ "$fl" = -*(a*u|u*a)* || "$fl" = -*a* && CURRENT -ge 4 ]]; then
   compgen "$expl[@]" -B
 elif [[ "$fl" = -*u* ]]; then
   _description expl module
-  compadd - $(zmodload)
+  compadd "$expl[@]" - $(zmodload)
 else
   _description expl 'module file'
-  compadd - ${^module_path}/*(N:t:r)
+  compadd "$expl[@]" - ${^module_path}/*(N:t:r)
 fi