mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-29 19:00:57 +02:00
20 lines
283 B
Text
20 lines
283 B
Text
#autoload
|
|
|
|
local gopt=-J
|
|
|
|
if [[ "$1" = -([12]|)[VJ] ]]; then
|
|
gopt="$1"
|
|
shift
|
|
fi
|
|
|
|
if comptags -R "$1"; then
|
|
_comp_tags="$_comp_tags $1"
|
|
if [[ $# -gt 3 ]]; then
|
|
_loop "$gopt" "$@"
|
|
elif [[ $# -gt 1 ]]; then
|
|
_description "$gopt" "$@"
|
|
fi
|
|
return 0
|
|
else
|
|
return 1
|
|
fi
|