Open blacktop opened 7 years ago
maybe a mmake zsh completions?
Thanks for the suggestion. I'm happy to accept a PR that enables this.
are you opposed to using cobra for CLI? I think it can auto-gen bash/zsh completions.
What auto complete are you wishing for?
Is it for mmake, ie update and help. Or for make itself, as a pass through from mmake?
On Sep 22, 2019, at 19:17, blacktop notifications@github.com wrote:
are you opposed to using cobra for CLI? I think it can auto-gen bash/zsh completions.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
hmm I had make TAB
working for targets until I just updated from master haha (not sure how that messed anything up), trying to find where I had my autocomplete config and I'll post it here.
This may be a good reason to avoid color in the output, since you can use make help
output in the completion script, but we could provide something like make completions
or similar as well with the list
Sounds like this would work in a bash environment for basic completions: https://stackoverflow.com/a/54094920 (bash-completions).
There are also some shell configs in SO that list how to do varying qualities of this :D.
Ahhh I think you're right, pretty sure that's the one I had, not sure how I broke it haha, it seemed to work good though
that is the only feature from makefiles that I would miss