| Linux server27.hostingraja.org 2.6.32-954.3.5.lve1.4.93.el6.x86_64 #1 SMP Wed Oct 4 17:04:29 UTC 2023 x86_64 Path : /usr/share/zsh/4.3.11/functions/ |
| Current File : //usr/share/zsh/4.3.11/functions/_arch_archives |
#autoload
local ARCHCMD="$1"
shift
local expl completions library name_arg='-n'
if [[ -n $argv[(r)--library] ]]; then
library='library-'
# remove parameter from $@ before calling compadd
argv[(r)--library]=()
name_arg=
fi
completions=($(_call_program ${ARCHCMD} ${ARCHCMD} ${library:-}archives $name_arg))
_description -V archives expl "${library:-}archives"
compadd "$@" "$expl[@]" -- "$completions[@]"