Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
_complete_tag patch?
- X-seq: zsh-workers 13779
- From: Clint Adams <schizo@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: _complete_tag patch?
- Date: Mon, 26 Mar 2001 11:12:06 -0500
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Is this correct?
----- Forwarded message from Michal Politowski <mpol@xxxxxxxxxxxxxxxxxxx> -----
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author