On 11/14/22 12:20 PM, Martin Castillo wrote:
Hi,

weird subject. Just consider this:

# assume: set completion-ignore-case on
$ mkdir new && cd new;
$ mkdir Foo foobar
$ ls f<TAB>
$ ls foo


foo does not exist, but Foo is (the only) matching foo not considering case. I suggest readline to suggest Foo instead of foo.

Since you've told readline not to consider case when completing, why would
it want to change what the user typed? It matched, after all.

Consider a file system that's case-insensitive but case-preserving. You
wouldn't want to change what the user typed in that case.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    [email protected]    http://tiswww.cwru.edu/~chet/


Reply via email to