HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/zsh/functions/Completion/Debian/_piuparts
#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
          _deb_files
      fi
    ;;
esac