1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-23 16:40:24 +02:00
zsh/Completion/Core/_requested

19 lines
261 B
Text

#autoload
local gopt=-J
if [[ "$1" = -([12]|)[VJ] ]]; then
gopt="$1"
shift
fi
if comptags -R "$1"; then
if [[ $# -gt 3 ]]; then
_all_labels - "$gopt" "$@"
elif [[ $# -gt 1 ]]; then
_description "$gopt" "$@"
fi
return 0
else
return 1
fi