On 26.1. 16:36, Chet Ramey wrote:
You want to be able to complete shell function names case-insensitively
even though you won't be able to execute the result? I can see case-
insensitivity for executables on a case-insensitive file system like
Mac OS HFS+ or APFS, but shell functions?

Doesn't Bash/readline already tab-complete file names so that the completion fixes the case? If I do 'touch ABBA' and 'rm ab<tab>', it will complete the name to 'ABBA'. It also completes 'ab<tab>' to 'ABBA' as the name of a command if it's a binary in PATH, but if it's a function, it seems to require the correct case. Sort of confusing, really.



--
Ilkka Virta / itvi...@iki.fi

Reply via email to