CHips L MINI SHELL

CHips L pro

Current Path : /usr/share/zsh/4.3.11/functions/
Upload File :
Current File : //usr/share/zsh/4.3.11/functions/_a2utils

#compdef a2ensite a2dissite a2enmod a2dismod

local -a mods

case "$service" in
    a2ensite)
	_wanted sites expl sites \
	  _files -W /etc/apache2/sites-available
	;;
    a2dissite)
	_wanted sites expl sites \
	  _files -W /etc/apache2/sites-enabled
	;;
    a2enmod)
	mods=( /etc/apache2/mods-available/*.load(N:r:t) )
	_wanted mods expl mods compadd -a mods
	;;
    a2dismod)
	mods=( /etc/apache2/mods-enabled/*.load(N:r:t) )
	_wanted mods expl mods compadd -a mods
	;;
esac

return 0

Copyright 2K16 - 2K18 Indonesian Hacker Rulez