File: _pkginfo

package info (click to toggle)
zsh 5.9-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 22,872 kB
  • sloc: ansic: 108,165; sh: 6,987; makefile: 722; perl: 687; awk: 291; sed: 16
file content (18 lines) | stat: -rw-r--r-- 591 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#compdef 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'