1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-05-28 02:46:03 +02:00
zsh/Completion/Base/Utility/_guard

13 lines
177 B
Plaintext

#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" ]]