zsh-workers
 help / color / mirror / code / Atom feed
7f4385b90c4d0ee8cfe39024ac09635c329cc39a blob 413 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
 
#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
debug log:

solving 7f4385b90 ...
found 7f4385b90 in https://git.vuxu.org/mirror/zsh/

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).