diff options
Diffstat (limited to 'Completion/User')
-rw-r--r-- | Completion/User/_make | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Completion/User/_make b/Completion/User/_make index 4c6095e95..a9caed5de 100644 --- a/Completion/User/_make +++ b/Completion/User/_make @@ -20,6 +20,10 @@ else _description expl 'make target' [[ -n "$file" ]] && - compadd "$expl[@]" - $(awk '/^[a-zA-Z0-9][^\/ ]+:/ {print $1}' FS=: $file) && ret=0 + compadd "$expl[@]" - \ + $(awk '/^[a-zA-Z0-9][^\/ \t]+:/ {print $1} + /^\.include *<bsd\.port\.(subdir\.|pre\.|)mk>/ || /^\.include *".*mk\/bsd\.pkg\.(subdir\.|)mk"/ { + print "fetch fetch-list extract patch configure build install reinstall deinstall package describe checkpatch checksum makesum" }' \ + FS=: $file) && ret=0 (( ret )) && { compset -P 1 '*\='; _files } fi |