Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug#262247: zsh: Improved make completion



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