bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to limit autofill of executables in 'cygwin-bash' to a list of '


From: Linda Walsh
Subject: Re: how to limit autofill of executables in 'cygwin-bash' to a list of 'extensions'
Date: Tue, 13 Jul 2010 18:01:44 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.8.1.24) Gecko/20100228 Lightning/0.9 Thunderbird/2.0.0.24 Mnenhy/0.7.6.666

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







reply via email to

[Prev in Thread] Current Thread [Next in Thread]