mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-20 05:53:52 +01:00
9 lines
344 B
Plaintext
9 lines
344 B
Plaintext
#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)}%%\=*}##* }"
|