Re: bash completion in C7

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



On 08/30/2018 01:11 AM, wwp wrote:
I well know that to match "1.foo-named", I should use `ls*foo*<TAB>`
(trailing *) and I'm sure that you know that `ls *foo<TAB>` matches
1.foo.


I didn't.  Given a better description of what you're trying to do, I see that the bash's behavior has changed.

I also learned about "Alt+g" and "Ctrl+x g".  Those seem to do more or less what you want.  These are documented in the bash man page under Completing/Miscellaneous, as glob-complete-word and glob-list-expansions.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux