diff options
author | Clint Adams <clint@users.sourceforge.net> | 2002-07-22 21:31:44 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2002-07-22 21:31:44 +0000 |
commit | f45395457bb54b8f60b627ab0a807e9e7d1729d4 (patch) | |
tree | 872fcdee511cf06e3f6a0f0fc419a5e6ed1c2063 /Completion/Unix/Command/_global_tags | |
parent | adfd1627098816ef87187078e558687618e16ff9 (diff) | |
download | zsh-f45395457bb54b8f60b627ab0a807e9e7d1729d4.tar.gz zsh-f45395457bb54b8f60b627ab0a807e9e7d1729d4.tar.xz zsh-f45395457bb54b8f60b627ab0a807e9e7d1729d4.zip |
17476: Matt Zimmerman's completion for GNU GLOBAL.
Diffstat (limited to 'Completion/Unix/Command/_global_tags')
-rw-r--r-- | Completion/Unix/Command/_global_tags | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_global_tags b/Completion/Unix/Command/_global_tags new file mode 100644 index 000000000..bdd01baf6 --- /dev/null +++ b/Completion/Unix/Command/_global_tags @@ -0,0 +1,9 @@ +#autoload + +local globalresults + +[[ -z $words[CURRENT] ]] && return 1 + +globalresults=($(global --completion $words[CURRENT])) + +compadd -M 'm:{a-zA-Z}={A-Za-z}' -a "$@" - globalresults |