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. If I just create an empty file without the shebang, it won't be executable, and autocomplete doesn't work.


------------------------------------------------------------------------------
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