Jian Wang wrote:
When using Bash, I often turn on the `completion-ignore-case' option of
readline. It works fine for most cases but sometimes it does not work as
expected when completing the first word on the command line. For example,
there is a bash script ~/MyDir/Foo.sh, on command line, when I input ~/my
and then press TAB, the word is completed as ~/myDir . Is that a bug?

It's not really a bug, since case-ignoring does not necessarily mean
case-changing (this is usually called `case-preserving').  Readline uses
what's found in the file system rather than preserving what the user
typed, though, as you noticed when you tried to do word completion instead
of command completion.  It might be useful to emulate Readline's behavior
while doing command word completion.

Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                       Live Strong.  No day but today.
Chet Ramey, ITS, CWRU    [EMAIL PROTECTED]    http://cnswww.cns.cwru.edu/~chet/


Reply via email to