1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 13:33:52 +01:00
zsh/Completion/Core/_requested
2000-05-31 09:38:25 +00:00

20 lines
281 B
Plaintext

#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" "$@" || return 1
elif [[ $# -gt 1 ]]; then
_description "$__gopt" "$@"
fi
return 0
else
return 1
fi