[Help-bash] Command completion with * in the middle?
From:
David Niklas
Subject:
[Help-bash] Command completion with * in the middle?
Date:
Sat, 19 Jan 2019 23:54:31 -0500
On Sat, 19 Jan 2019 07:53:33 -0600
Peng Yu <address@hidden> wrote:
> Hi,
>
> Sometimes, if I just type the prefix then type TAB, there will be too
> many commands shown. Is it possible to use * for command completion to
> reduce the number of commands shown?
>
> 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...
Thanks,
David