bug-bash
[Top][All Lists]
Advanced

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

Re: Feature request: tab completion on functions


From: Chet Ramey
Subject: Re: Feature request: tab completion on functions
Date: Fri, 26 Jan 2018 11:14:15 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.5.2

On 1/26/18 10:23 AM, Ilkka Virta wrote:
> 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.

Well, let's look at it.


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



reply via email to

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