diff options
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 |