Re: bash completion in C7

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



Hello Gordon,


On Thu, 30 Aug 2018 15:00:41 -0700 Gordon Messmer <gordon.messmer@xxxxxxxxx> 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

Attachment: pgpr1AhN_8EZ6.pgp
Description: OpenPGP digital signature

_______________________________________________
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