Paul Hentschel <hpmachin...@charter.net> writes:

> On 12/25/2017 12:55 PM, Stephen Leake wrote:
>> In Cygwin and Debian bash, tab completes to *.sh files. In Mingw64 bash,
>> it does not (it only completes to *.exe).
>>
>> I've looked thru the bash help files, and I don't see where that
>> completion is described, nor how to add *.sh to it.
>>
>> - Why is it not completing on *.sh? They are executable, as far as bash
>>    is concerned.
>>
>> - How can I enable it?
>>
>
> It works on my system, as long as the .sh files are executable.
> Putting #!/bin/bash as the first line automatically makes them
> executable on my system. 

Ok, that works for me too.

But it's not consistent with Cygwin bash.

And it does execute ~/bin/foo.sh without the shebang, so that's not
consistent either.

Oh well, I can live with it.


-- 
-- Stephe

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Msys2-users mailing list
Msys2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to