1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-22 16:20:23 +02:00

25324: Danek Duvall: some Solaris and more general completions

This commit is contained in:
Peter Stephenson 2008-07-21 19:15:22 +00:00
parent 2d2d341161
commit 5b29fedad8
28 changed files with 1168 additions and 25 deletions

View file

@ -0,0 +1,20 @@
#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 "$@"