[Top][All Lists]

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

Re: Feature request: tab completion on functions

From: Ilkka Virta
Subject: Re: Feature request: tab completion on functions
Date: Fri, 26 Jan 2018 17:23:30 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:52.0) Gecko/20100101 Thunderbird/52.5.2

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 / address@hidden

reply via email to

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