mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 21:44:11 +01:00
20 lines
273 B
Plaintext
20 lines
273 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
|