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 /Completion | |
parent | 0d8d202ff5491382a7576508d80166f89aac4157 (diff) | |
download | zsh-7b2bbf51f20552a07beb5630042a8a881db00e78.tar.gz zsh-7b2bbf51f20552a07beb5630042a8a881db00e78.tar.xz zsh-7b2bbf51f20552a07beb5630042a8a881db00e78.zip |
21310: pass an array to compadd in _global_tags
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Unix/Type/_global_tags | 7 |
1 files changed, 4 insertions, 3 deletions
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 |