blob: fdab2814e5986fa8836960428f03b081d43fc961 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
#autoload
local expl pattern
pattern=( -g \* )
zparseopts -D -K -E g:=pattern
_description widgets expl widget
compadd "$@" "$expl[@]" -M 'r:|-=* r:|=*' - "${(@k)widgets[(R)${pattern[2]}]}"
|