MOON
Server: Apache
System: Linux server1.studioinfinity.com.br 2.6.32-954.3.5.lve1.4.90.el6.x86_64 #1 SMP Tue Feb 21 12:26:30 UTC 2023 x86_64
User: artinside (517)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/share/zsh/4.3.11/functions/_pkgrm
#compdef pkgrm

_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'
}

_pkgrm "$@"