CHips L MINI SHELL

CHips L pro

Current Path : /proc/2/root/proc/2/cwd/usr/local/ssl/share/zsh/4.3.11/functions/
Upload File :
Current File : //proc/2/root/proc/2/cwd/usr/local/ssl/share/zsh/4.3.11/functions/_lighttpd

#compdef lighty-enable-mod lighty-disable-mod

local -a mods

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
	;;
    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
	;;
esac

return 0

Copyright 2K16 - 2K18 Indonesian Hacker Rulez