[CentOS] bash completion in C7
Gordon Messmer
gordon.messmer at gmail.com
Thu Aug 30 22:00:41 UTC 2018
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.
More information about the CentOS
mailing list