1 2 3 4 5
#defcomp -brace-parameter- # Simple but without spiffy suffix handling: compgen -v -S '} ' compadd -S '} ' -r '-:?#%+=[/' - "${(@)${${${(f)$(typeset)}%%\=*}##* }:gs/'//}"