diff options
author | Oliver Kiddle <opk@zsh.org> | 2017-04-26 16:32:10 +0200 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2017-04-26 16:32:10 +0200 |
commit | 78afb218b0b2603db227667b616578bfe927518c (patch) | |
tree | 40277c76f6c347e144180b587a3e35c9fa0cbb5c /Completion/Debian/Command/_lighttpd | |
parent | 408b92b168078a338f5fc2c2f95f39f8aa8e5f67 (diff) | |
download | zsh-78afb218b0b2603db227667b616578bfe927518c.tar.gz zsh-78afb218b0b2603db227667b616578bfe927518c.tar.xz zsh-78afb218b0b2603db227667b616578bfe927518c.zip |
40965: fix for missing local declarations of expl
Diffstat (limited to 'Completion/Debian/Command/_lighttpd')
-rw-r--r-- | Completion/Debian/Command/_lighttpd | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Completion/Debian/Command/_lighttpd b/Completion/Debian/Command/_lighttpd index 7f4385b90..c24b42d13 100644 --- a/Completion/Debian/Command/_lighttpd +++ b/Completion/Debian/Command/_lighttpd @@ -1,16 +1,16 @@ #compdef lighty-enable-mod lighty-disable-mod -local -a mods +local -a mods expl case "$service" in lighty-enable-mod) mods=( `echo /etc/lighttpd/conf-available/*.conf(N:r:t) | sed -e 's/\b[0-9][0-9]-//g'` ) - _wanted mods expl mods compadd -a mods + _wanted mods expl mod compadd -a mods ;; lighty-disable-mod) mods=( `echo /etc/lighttpd/conf-enabled/*.conf(N:r:t) | sed -e 's/\b[0-9][0-9]-//g'` ) - _wanted mods expl mods compadd -a mods + _wanted mods expl mod compadd -a mods ;; esac -return 0 +return |