diff options
| author | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-02 12:35:24 +0000 |
|---|---|---|
| committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-02 12:35:24 +0000 |
| commit | 5ab287d456a2c2dc7841a4a9dc268cd0bd2e7898 (patch) | |
| tree | dde3a76609374536404652bf8dfac9a629670fe9 /Completion/User/_make | |
| parent | zsh-workers/8485 (diff) | |
| download | zsh-5ab287d456a2c2dc7841a4a9dc268cd0bd2e7898.tar zsh-5ab287d456a2c2dc7841a4a9dc268cd0bd2e7898.tar.gz zsh-5ab287d456a2c2dc7841a4a9dc268cd0bd2e7898.tar.bz2 zsh-5ab287d456a2c2dc7841a4a9dc268cd0bd2e7898.tar.lz zsh-5ab287d456a2c2dc7841a4a9dc268cd0bd2e7898.tar.xz zsh-5ab287d456a2c2dc7841a4a9dc268cd0bd2e7898.tar.zst zsh-5ab287d456a2c2dc7841a4a9dc268cd0bd2e7898.zip | |
zsh-workers/8486
Diffstat (limited to 'Completion/User/_make')
| -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 |
