about summary refs log tree commit diff
path: root/Completion/Unix/Command/_pkgrm
blob: 1191a2d1f94aff9b37ebcb380dc06e7dd5f4f543 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#compdef pkgrm

_arguments -s \
  '-Y[select packages by category]:category' \
  - set1 \
  '-n[non-interactive mode]' \
  '-v[trace all scripts]' \
  '-a[admin file]:admin file:_files' \
  "-A[force removal of all files]" \
  "-M[don't use vfstab file]" \
  '-R[root path]:root path:_files -/' \
  '-V[alternate vfstab file]:vfstab file:_files' \
  '*:package instance:_pkg_instance --_opts installed:set1--R' \
  - set2 \
  '-s[spool package]:spool directory:_files -/' \
  '*:package instance:_pkg_instance --_opts spooled:set2--s'