diff options
author | Wayne Davison <wayned@users.sourceforge.net> | 2004-08-18 20:30:27 +0000 |
---|---|---|
committer | Wayne Davison <wayned@users.sourceforge.net> | 2004-08-18 20:30:27 +0000 |
commit | 472e21e242c6bbfa27b3f28fb7d2b733c3c7eb75 (patch) | |
tree | 8fe9fa39da8433ebbea5d37de7350eeb6b13bf39 /Completion/Unix/Command | |
parent | f12d3cca9ff37efe6e82ee17d6b340732347bd88 (diff) | |
download | zsh-472e21e242c6bbfa27b3f28fb7d2b733c3c7eb75.tar.gz zsh-472e21e242c6bbfa27b3f28fb7d2b733c3c7eb75.tar.xz zsh-472e21e242c6bbfa27b3f28fb7d2b733c3c7eb75.zip |
One of the new parenthetical expressions needs to not return a value
so that it doesn't put items into the @matches array.
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r-- | Completion/Unix/Command/_make | 2 |
1 files changed, 1 insertions, 1 deletions
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+\<bsd\.port\.(subdir\.|pre\.)?mk>/ || /^\.include\s+\".*mk\/bsd\.pkg\.(subdir\.)?mk\"/) { |