Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#262247: zsh: Improved make completion
- X-seq: zsh-workers 20269
- From: Wayne Davison <wayned@xxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Bug#262247: zsh: Improved make completion
- Date: Wed, 18 Aug 2004 10:04:27 -0700
- In-reply-to: <20040818150736.GI4753@xxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20040730101751.GA11905@xxxxxxxxx> <20040730153054.GA4059@xxxxxxxxxxx> <20040730165133.GL12279@xxxxxxxxx> <20040818150736.GI4753@xxxxxxxxx>
While I was looking at your patch, I tried turning on useperl without
your patch applied and discovered that the completion of make targets
stopped working. Here's a patch to fix it:
--- orig/_make 2002-10-03 23:03:41.000000000 -0700
+++ _make 2004-08-18 10:01:53.000000000 -0700
@@ -35,7 +35,7 @@
elif [[ -n $useperl ]]; then
tmp=(
$(perl -ne '@matches = /^(?:([a-zA-Z0-9]+[^\/\t=\s]+)\s*)+:/ and
- print join(" ", @matches);
+ print join(" ", @matches), "\n";
if (/^\.include\s+\<bsd\.port\.(subdir\.|pre\.)?mk>/ ||
/^\.include\s+\".*mk\/bsd\.pkg\.(subdir\.)?mk\"/) {
print "fetch fetch-list extract patch configure build install reinstall deinstall package describe checkpatch checksum makesum\n";
..wayne..
Messages sorted by:
Reverse Date,
Date,
Thread,
Author