zsh-workers
 help / color / mirror / code / Atom feed
From: Clint Adams <schizo@debian.org>
To: zsh-workers@sunsite.dk
Subject: _complete_tag patch?
Date: Mon, 26 Mar 2001 11:12:06 -0500	[thread overview]
Message-ID: <20010326111206.B20541@dman.com> (raw)

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


             reply	other threads:[~2001-03-26 16:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-26 16:12 Clint Adams [this message]
2001-03-26 16:15 ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010326111206.B20541@dman.com \
    --to=schizo@debian.org \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).