| 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/_vars |
#compdef getopts unset
# This will handle completion of keys of associative arrays, e.g. at
# `vared foo[<TAB>'.
local ret=1
if [[ $PREFIX = *\[* ]]; then
compstate[parameter]=${PREFIX%%(|\\)\[*}
IPREFIX=${PREFIX%%\[*}\[
PREFIX=${PREFIX#*\[}
_subscript -q
else
_parameters -g '^a*' "$@" && ret=0
if compset -S '\[*'; then
set - -S "" "$@"
else
set - -qS"${${QIPREFIX:+[}:-\[}" "$@"
fi
_parameters -g 'a*' "$@" && ret=0
return ret
fi