[Bash-completion-devel] "make" filename completion

Ville Skyttä ville.skytta at iki.fi
Tue Mar 31 20:30:33 UTC 2009


Hi,

The completion of make and friends currently has:

    complete -f -F _make $filenames make gmake gnumake pmake

The -f seems to break for example "make -C <TAB>" so that it completes on 
dirs+files instead of just dirs.  Simply changing the line to

    complete -F _make $filenames make gmake gnumake pmake

...fixes that.  But it also changes for example "make <TAB>" to no longer 
complete on files.  I'm not sure whether this would be desirable or a problem.  
Anyone?



More information about the Bash-completion-devel mailing list