linux - make command not tabbing to complete file names -


trying use 'make' command in linux compile c programs class. if make works, if type 'make' , start typing file name , tab doesn't autocomplete file me. it's kind of annoying , i'd able use instead of typing gcc -o everytime test program. how can fix this?

edit have galliumos - 2.0 (ubuntu 16.04) installed on c720 chromebook (chromeos has been removed , replaced this) shell bash.

edit2 adding line complete -f -x '!*' make in ~/.bashrc file works, need making ignore directories or make .c , compiled c programs added autocomplete.

it not complete, because parameter following make name of target (for recipe) , not filename.

it perhaps completes options expect filename, e.g. make -f mymakefile.


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -