1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-17 12:41:14 +02:00
zsh/Completion/Base/Utility/_guard

12 lines
177 B
Text

#autoload
local garbage
zparseopts -K -D -a garbage M+: J+: V+: 1 2 o+: n F: X+:
[[ "$PREFIX$SUFFIX" != $~1 ]] && return 1
shift
_message -e "$*"
[[ -n "$PREFIX$SUFFIX" ]]