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

Ville Skyttä ville.skytta at iki.fi
Tue Apr 7 19:24:36 UTC 2009


On Tuesday 31 March 2009, Ville Skyttä wrote:
> 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?

I *think* it isn't a problem, so I've committed this change to master.  It can 
always be reverted if this turns out not being the right thing to do.



More information about the Bash-completion-devel mailing list