| DIR:/proc/self/root/proc/thread-self/root/usr/share/zsh/5.5.1/functions/ |
| Current File : //proc/self/root/proc/thread-self/root/usr/share/zsh/5.5.1/functions/_lighttpd |
#compdef lighty-enable-mod lighty-disable-mod
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 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 mod compadd -a mods
;;
esac
return
|