summary refs log tree commit diff
path: root/Completion/Builtins/_zcompile
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Builtins/_zcompile')
-rw-r--r--Completion/Builtins/_zcompile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Completion/Builtins/_zcompile b/Completion/Builtins/_zcompile
index 5ec6f96ce..c82226dc2 100644
--- a/Completion/Builtins/_zcompile
+++ b/Completion/Builtins/_zcompile
@@ -18,5 +18,6 @@ _arguments -s \
 if (( $+opt_args[-c] )); then
   _wanted functions expl 'function to write' compadd - ${(k)functions}
 else
-  _wanted file expl 'zsh source file' _files
+  _description files expl 'zsh source file'
+  _files "$expl[@]"
 fi