bash completion of makefile target -


suppose have simple makefile like:

hello:    echo "hello world"  bye:    echo "bye bye" 

then in bash want like:

make h < tab >

so can complete to

make hello

i found simple way creating empty files hello , bye i'm looking more sophisticated.

could you're looking for?

http://freshmeat.net/projects/bashcompletion/

make [tab] complete on targets in makefile. project conceived produce programmable completion routines common linux/unix commands, reducing amount of typing sysadmins , programmers need on daily basis.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -