-
-
Save vagelim/cdd54498537c60da31d1c0fa419963a3 to your computer and use it in GitHub Desktop.
Autocomplete Makefile targets. Add this to your shell config file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
complete -W "\`grep -oE '^[a-zA-Z0-9_-]+:([^=]|$)' Makefile | sed 's/[^a-zA-Z0-9_-]*$//'\`" make |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment