mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-03 08:11:03 +02:00
8 lines
344 B
Text
8 lines
344 B
Text
#autoload
|
|
|
|
# This should be used to complete parameter names if you need some of the
|
|
# extra options of compadd. It first tries to complete only non-local
|
|
# parameters. All arguments are given to compadd.
|
|
|
|
compadd "$@" - "${(@)${(@)${(@)${(@f)$(typeset)}:#*local *\=*}%%\=*}##* }" ||
|
|
compadd "$@" - "${(@)${(@)${(@f)$(typeset)}%%\=*}##* }"
|