about summary refs log tree commit diff
path: root/Completion/Unix/Type/_ctags_tags
diff options
context:
space:
mode:
authorPaul Ackersviller <packersv@users.sourceforge.net>2007-05-03 03:06:04 +0000
committerPaul Ackersviller <packersv@users.sourceforge.net>2007-05-03 03:06:04 +0000
commit333ee0195a3d01067baae97d870015e199b91481 (patch)
tree54ceec02fc66154635a80e551f5316dc7e52278f /Completion/Unix/Type/_ctags_tags
parentb5d0345cdcf2975ce0fbce8a50947331ec788e38 (diff)
downloadzsh-333ee0195a3d01067baae97d870015e199b91481.tar.gz
zsh-333ee0195a3d01067baae97d870015e199b91481.tar.xz
zsh-333ee0195a3d01067baae97d870015e199b91481.zip
Merge of workers/{21316,2132[01]}.
Diffstat (limited to 'Completion/Unix/Type/_ctags_tags')
-rw-r--r--Completion/Unix/Type/_ctags_tags7
1 files changed, 7 insertions, 0 deletions
diff --git a/Completion/Unix/Type/_ctags_tags b/Completion/Unix/Type/_ctags_tags
new file mode 100644
index 000000000..2474969ab
--- /dev/null
+++ b/Completion/Unix/Type/_ctags_tags
@@ -0,0 +1,7 @@
+#autoload
+
+local expl tags
+
+[[ -r tags ]] && tags=( ${${${(f)"$(< tags)"}:#!*}%%[[:blank:]]*} )
+
+_wanted ctags expl 'tag' compadd -M 'm:{a-zA-Z}={A-Za-z}' -a "$@" - tags