3 ms·
Here's zsh's implementation: https://github.com/zsh-users/zsh/blob/master/Completion/Unix/Command/_make https://github.com/zsh-users/zsh/blob/master/Completion/
by oefrha 6y ago
Here's zsh's implementation: https://github.com/zsh-users/zsh/blob/master/Completion/Unix/Command/_make https://github.com/zsh-users/zsh/blob/master/Completion/Unix...
It's more complete, since it implements completion for bsdmake too, where there's no -p but a comparable debug option.[1]
It completes variables in addition to targets, too.
[1] https://www.freebsd.org/cgi/man.cgi?make(1) https://www.freebsd.org/cgi/man.cgi?make(1)