CHips L MINI SHELL

CHips L pro

Current Path : /proc/2/root/usr/share/zsh/4.3.11/functions/
Upload File :
Current File : //proc/2/root/usr/share/zsh/4.3.11/functions/_pkg_instance

#autoload

local -A opts
local whicharg

zparseopts -E -D -- '-_opts:=opts'

whicharg=${opts#*:}

case ${opts%:*} in
(installed)
	compadd "$@" - ${opt_args[$whicharg]}/var/sadm/pkg/*/pkginfo(:h:t)
	;;
(spooled)
	compadd "$@" - ${opt_args[$whicharg]}/*(:t)
	;;
(uninstalled)
	compadd "$@" - ${opt_args[$whicharg]:-/var/spool/pkg}/*/pkgmap(:h:t)
	;;
esac

Copyright 2K16 - 2K18 Indonesian Hacker Rulez