zsh-workers
 help / color / mirror / code / Atom feed
6c71082ef0f7f04a13a5f530157a391beb314460 blob 613 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
 
#compdef pkginfo

_pkginfo() {
	_arguments -s \
	'(-q -r -x)-l[long listing]' \
	'(-l -r -x)-q[quiet mode]' \
	'(-l -q -x)-r[relocation base]' \
	'(-l -q -r)-x[extracted listing]' \
	'-c[category]:category: ' \
	'-a[architecture]:architecture: ' \
	'-v[version]:version: ' \
	- set1 \
	'(-p)-i[select completely installed packages]' \
	'(-i)-p[select partially installed packages]' \
	'-R[root path]:root path:_files -/' \
	'*:package instance:_pkg_instance --_opts installed:set1--R' \
	- set2 \
	'-d[device]:device file:_files' \
	'*:package instance:_pkg_instance --_opts uninstalled:set2--d'
}

_pkginfo "$@"
debug log:

solving 6c71082ef ...
found 6c71082ef 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).