[Top][All Lists]

[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: Mon, 21 Jan 2019 09:50:34 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.3.3

On 1/21/19 8:55 AM, Greg Wooledge wrote:
> On Sat, Jan 19, 2019 at 11:54:31PM -0500, David Niklas wrote:
>> Peng Yu <address@hidden> wrote:
>>> For example, if I type "l*.sh", then type TAB, is it possible to show
>>> all the commands starting with "l" and ending with ".sh"? Thanks.
>> For once Peng Yu has a great idea.
>> Sadly, if there is such a way, I'm still searching for it...
> In vi mode (it's ksh88 compatible, which is where I first learned this),
> you can do ESC * to force the immediate expansion of the glob under
> the cursor.

That doesn't do command completion. It only glob-expands the word.

``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden

reply via email to

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