[Bash-completion-devel] _filedir case sensitivity

Freddy Vulto fvulto at gmail.com
Wed Sep 15 20:10:10 UTC 2010


On 100914 21:15, Ville Skyttä wrote:
> The attached patch provides some automatic case insensitivity to _filedir and 
> _filedir_xspec by automatically matching all-uppercase versions of the passed 
> patterns as well as the original ones.  The idea is that if this goes in, all 
> glob arguments to _filedir and the _filedir_xspec things can be cleaned up to 
> all lowercase and we'd get better case insensitivity support automatically 
> even without this work.  The downsides are that this isn't exactly that 
> pretty, and that strictly case sensitive (non-all-uppercase) completions would 
> no longer be possible.  I don't think these are big issues at all.
> 
> Thoughts, objections?

So from a glance this patch only effects file extensions, it doesn't
make the whole filename matching case insensitive?  If just for
extensions, +1.

Freddy
http://fvue.nl



More information about the Bash-completion-devel mailing list