zsh-workers
 help / color / mirror / code / Atom feed
a1b6666a3f3d9228e7d62ee8ef62c49a45d7a829 blob 976 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
#compdef piuparts

local context state line
typeset -A opt_args

_arguments -s \
	'(-a --apt)'{-a,--apt} \
	'(-b --basetgz)'{-b,--basetgz=}':base tarball:_files' \
	'(-d --distribution)'{-d,--distribution=}':Debian distribution:(sarge etch sid experimental)' \
	'(-i --ignore)*'{-i,--ignore=}':file to ignore:_files' \
	'(-I --ignore-regexp)*'{-I,--ignore-regexp=}':expression to ignore' \
	'(-k --keep-tmpdir)'{-k,--keep-tmpdir} \
	'(-l --log-file)'{-l,--logfile=}':log file:_files' \
	'(-m --mirror)'{-m,--mirror=}':Debian mirror:_urls' \
	'(-n --no-ignores)'{-n,--no-ignores} \
	'(-p --pbuilder)'{-p,--pbuilder}'[use /var/cache/pbuilder/base.tgz]' \
	'(-s --save)'{-s,--save=}':target tarball:_files' \
	'(-t --tmpdir)'{-t,--tmpdir=}':temp dir:_files -/' \
	'-V[version]' \
	'*:package:->packages' && return 0

case "$state" in
    (packages)
      if (( $+opt_args[-a] )); then
          _deb_packages avail
      else
          _files -g '*.deb(-.)'
      fi
    ;;
esac
debug log:

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