Chet Ramey wrote:
You have to modify the source. findcmd.c:executable_file and findcmd.c:file_status are the functions to change. Bash just uses the standard exec bit.
---
Ran across this one today and tried it again. I don't know why, but when it first came out, I gave it a try to accomplish similar, but had no luck. Now it's working as I _think_ it's supposed to be (?). FIGNORE=".dll;.DLL" (assuming default value of 'shopt force_fignore' is enabled). It seems to eliminate a large amount of chaff on Windows. Am I correct in my interpretation that this is by design? (ob.sillyness) Of course to get the accurate behavior, one could try to add every combination of 1, 2 and 3 letters to FIGNORE...*cough*... (presuming it wouldn't overflow the environment tables).