zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: _global_tags fix
@ 2005-06-06 16:21 Doug Kearns
  0 siblings, 0 replies; only message in thread
From: Doug Kearns @ 2005-06-06 16:21 UTC (permalink / raw)
  To: zsh-workers

A fix for _global_tags which seems to have been out of action for a
while. I guess there aren't too many zsh/global users. ;-)

Regards,
Doug

Index: Completion/Unix/Type/_global_tags
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Type/_global_tags,v
retrieving revision 1.1
diff -u -r1.1 _global_tags
--- Completion/Unix/Type/_global_tags	31 Jul 2003 15:27:52 -0000	1.1
+++ Completion/Unix/Type/_global_tags	6 Jun 2005 16:10:29 -0000
@@ -1,4 +1,7 @@
 #autoload
 
-_wanted global-tags expl 'tag' compadd -M 'm:{a-zA-Z}={A-Za-z}' \
-    -a "$@" - $(_call_program global-tags global --completion $PREFIX)
+local expl tags
+
+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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-06-06 16:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-06 16:21 PATCH: _global_tags fix Doug Kearns

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).