From 472e21e242c6bbfa27b3f28fb7d2b733c3c7eb75 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Wed, 18 Aug 2004 20:30:27 +0000 Subject: One of the new parenthetical expressions needs to not return a value so that it doesn't put items into the @matches array. --- Completion/Unix/Command/_make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion') diff --git a/Completion/Unix/Command/_make b/Completion/Unix/Command/_make index 92c69dd3f..dc4999634 100644 --- a/Completion/Unix/Command/_make +++ b/Completion/Unix/Command/_make @@ -34,7 +34,7 @@ else tmp=( $(_call_program targets "$words[1]" -nsp --no-print-directory -f "$file" .PHONY 2> /dev/null | $cmdargs) ) elif [[ -n $useperl ]]; then tmp=( - $(perl -ne '@matches = /^(?:([a-zA-Z0-9]+[^\/\t=\s]+)\s*)+:([^=]|$)/ and + $(perl -ne '@matches = /^(?:([a-zA-Z0-9]+[^\/\t=\s]+)\s*)+:(?:[^=]|$)/ and print join(" ", @matches), "\n"; if (/^\.include\s+\/ || /^\.include\s+\".*mk\/bsd\.pkg\.(subdir\.)?mk\"/) { -- cgit 1.4.1