[CentOS] bash completion in C7
wwp
subscript at free.fr
Fri Aug 31 07:12:25 UTC 2018
Hello Gordon,
On Thu, 30 Aug 2018 15:00:41 -0700 Gordon Messmer <gordon.messmer at gmail.com> wrote:
> 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'm afraid I see the same behaviour since Bash 2.0 :-/.
> 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.
Must confess that I quite never use Alt+ and Ctrl+ key combinations,
saving me from finger stretching.. I'm reading the man about all that
now, instructive, thanks!
Regards,
--
wwp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20180831/b4131f40/attachment.sig>
More information about the CentOS
mailing list