diff options
| author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-04-27 12:44:21 +0000 |
|---|---|---|
| committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-04-27 12:44:21 +0000 |
| commit | df82526ec86ec69c3b8e5936da2404cd41e69eaa (patch) | |
| tree | 8abfa5dd38d32d235cea9a9e8ce4d8fa5329fb6e /Completion/User | |
| parent | ensure $PWD is prepended to cache-names for long options in _arguments (10974) (diff) | |
| download | zsh-df82526ec86ec69c3b8e5936da2404cd41e69eaa.tar zsh-df82526ec86ec69c3b8e5936da2404cd41e69eaa.tar.gz zsh-df82526ec86ec69c3b8e5936da2404cd41e69eaa.tar.bz2 zsh-df82526ec86ec69c3b8e5936da2404cd41e69eaa.tar.lz zsh-df82526ec86ec69c3b8e5936da2404cd41e69eaa.tar.xz zsh-df82526ec86ec69c3b8e5936da2404cd41e69eaa.tar.zst zsh-df82526ec86ec69c3b8e5936da2404cd41e69eaa.zip | |
use $words[1] to call make in _make and throw away stderr and use _call (10977)
Diffstat (limited to 'Completion/User')
| -rw-r--r-- | Completion/User/_make | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/User/_make b/Completion/User/_make index 80164fdbd..09e4e4f89 100644 --- a/Completion/User/_make +++ b/Completion/User/_make @@ -33,7 +33,7 @@ else if [[ -n "$file" ]] && _tags targets; then if [[ -n "$_is_gnu[$words[1]]" ]]; then - tmp=( $(make -nsp --no-print-directory -f "$file" .PHONY | awk '/^[a-zA-Z0-9][^\/\t=]+:/ {print $1}' FS=:) ) + tmp=( $(_call targets "$words[1]" -nsp --no-print-directory -f "$file" .PHONY 2> /dev/null | awk '/^[a-zA-Z0-9][^\/\t=]+:/ {print $1}' FS=:) ) else tmp=( $(awk '/^[a-zA-Z0-9][^\/\t=]+:/ {print $1} |
