Merge pull request #865 from metal3d/feat-makefile

Add Makefile completion
This commit is contained in:
Nils Winkler
2016-12-22 08:29:22 +01:00
committed by GitHub

View File

@@ -0,0 +1,3 @@
# Add completion for Makefile
# see http://stackoverflow.com/a/38415982/1472048
complete -W "\`grep -oE '^[a-zA-Z0-9_-]+:([^=]|$)' Makefile | sed 's/[^a-zA-Z0-9_-]*$//'\`" make