diff options
Diffstat (limited to 'Completion/User/_make')
-rw-r--r-- | Completion/User/_make | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Completion/User/_make b/Completion/User/_make index 958e2a5af..7c7bbdae3 100644 --- a/Completion/User/_make +++ b/Completion/User/_make @@ -32,7 +32,8 @@ else fi if [[ -n "$file" ]] && _tags targets; then - if [[ -n "$_is_gnu[$words[1]]" ]]; then + if [[ -n "$_is_gnu[$words[1]]" ]] && + zstyle -t ":completion:${curcontext}:targets" call-command; then 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=( |