zsh-workers
 help / color / mirror / code / Atom feed
* _complete_tag patch?
@ 2001-03-26 16:12 Clint Adams
  2001-03-26 16:15 ` Peter Stephenson
  0 siblings, 1 reply; 2+ messages in thread
From: Clint Adams @ 2001-03-26 16:12 UTC (permalink / raw)
  To: zsh-workers

Is this correct?

----- Forwarded message from Michal Politowski <mpol@charybda.icm.edu.pl> -----

Two small errors in this function:

--- /tmp/_complete_tag	Mon Mar 26 17:24:01 2001
+++ /usr/share/zsh/functions/_complete_tag	Mon Mar 26 17:10:41 2001
@@ -48,8 +48,8 @@
   _main_complete - '' _wanted etags expl 'emacs tags' \
       compadd -a c_tags_array
-elif [[ -f $c_tagspath ]]; then
+elif [[ -f $c_path$c_tagsfile ]]; then
   # tags doesn't have as much in, but the tag is easy to find.
   # we can use awk here.
-  c_tags_array=($(awk '{ print $1 }' $c_path$c_Tagsfile))
+  c_tags_array=($(awk '{ print $1 }' $c_path$c_tagsfile))
   _main_complete - '' _wanted vtags expl 'vi tags' compadd -a c_tags_array
 else


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: _complete_tag patch?
  2001-03-26 16:12 _complete_tag patch? Clint Adams
@ 2001-03-26 16:15 ` Peter Stephenson
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Stephenson @ 2001-03-26 16:15 UTC (permalink / raw)
  To: Zsh hackers list

> Is this correct?

Seems to be.  I used stupid names.

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR Ltd., Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK                          Tel: +44 (0)1223 392070


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-03-26 16:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-26 16:12 _complete_tag patch? Clint Adams
2001-03-26 16:15 ` Peter Stephenson

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).