diff options
author | Doug Kearns <dkearns@users.sourceforge.net> | 2005-06-08 06:10:43 +0000 |
---|---|---|
committer | Doug Kearns <dkearns@users.sourceforge.net> | 2005-06-08 06:10:43 +0000 |
commit | 7b2bbf51f20552a07beb5630042a8a881db00e78 (patch) | |
tree | 7350d6ff91f7834894379528bdf076816dc3f6ee | |
parent | 0d8d202ff5491382a7576508d80166f89aac4157 (diff) | |
download | zsh-7b2bbf51f20552a07beb5630042a8a881db00e78.tar.gz zsh-7b2bbf51f20552a07beb5630042a8a881db00e78.tar.xz zsh-7b2bbf51f20552a07beb5630042a8a881db00e78.zip |
21310: pass an array to compadd in _global_tags
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Completion/Unix/Type/_global_tags | 7 |
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog index d75638a68..83bc30018 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-06-08 Doug Kearns <djkea2@gus.gscit.monash.edu.au> + * 21310: Completion/Unix/Type/_global_tags: pass an array to compadd; + redirect stderr to /dev/null when generating matches with _call_program + * 21302: Completion/Linux/Command/_pkgtool, Completion/Unix/Command/_ant, Completion/Unix/Command/_bogofilter, Completion/Unix/Command/_cdrecord, Completion/Unix/Command/_chkconfig, diff --git a/Completion/Unix/Type/_global_tags b/Completion/Unix/Type/_global_tags index a877ce86b..fcda28dfb 100644 --- a/Completion/Unix/Type/_global_tags +++ b/Completion/Unix/Type/_global_tags @@ -1,6 +1,7 @@ #autoload -local expl +local expl tags -_wanted global-tags expl 'tag' compadd -M 'm:{a-zA-Z}={A-Za-z}' \ - -a "$@" - $(_call_program global-tags global --completion $PREFIX) +tags=( $(_call_program global-tags global --completion $PREFIX 2>/dev/null) ) + +_wanted global-tags expl 'tag' compadd -M 'm:{a-zA-Z}={A-Za-z}' -a "$@" - tags |