help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] Command completion with * in the middle?


From: Chet Ramey
Subject: Re: [Help-bash] Command completion with * in the middle?
Date: Tue, 22 Jan 2019 14:33:31 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

On 1/22/19 2:21 PM, Peng Yu wrote:
>> What happens if you hit TAB twice? That's the normal completion behavior:
>> to print all the matches if you hit TAB again.
> 
> If I hit TAB twice, it will just do a normal completion to show all
> the matches starting with "b" in $PATH. But I need all the ones
> matching "b*sh" instead.

Sounds like you should look at the `show-all-if-ambiguous' readline
variable.

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



reply via email to

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