From eca1b931f5f4f8aaa59067ee8c696ab84ef97cee Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Mon, 2 Apr 2001 11:25:43 +0000 Subject: moved from Completion/Builtins/_autoload --- Completion/Zsh/Command/_autoload | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Completion/Zsh/Command/_autoload (limited to 'Completion/Zsh') diff --git a/Completion/Zsh/Command/_autoload b/Completion/Zsh/Command/_autoload new file mode 100644 index 000000000..81ded019a --- /dev/null +++ b/Completion/Zsh/Command/_autoload @@ -0,0 +1,10 @@ +#compdef autoload + +local expl + +if (( $words[(I)[-+]*w*] )); then + _description files expl 'zwc file' + _files "$expl[@]" -g '*.zwc' +else + _wanted functions expl 'shell function' compadd - ${^fpath}/*(:t) +fi -- cgit 1.4.1