[CentOS] Bash completion thrown by quoted option args?

Thu May 23 16:19:53 UTC 2019
Leroy Tennison <leroy at datavoiceint.com>

I am going to take a really wild guess and say "Try replacing the outermost quotes with single quotes or escape the double quotes around the numeral 1".  Your second example has double quotes within double quotes and I'm wondering if that's getting rendered as "yum --debuglevel="      1      " install ..." (extra space added for emphasis).

From: CentOS <centos-bounces at centos.org> on behalf of isdtor <isdtor at gmail.com>
Sent: Thursday, May 23, 2019 9:47:20 AM
To: CentOS mailing list
Subject: [EXTERNAL] [CentOS] Bash completion thrown by quoted option args?

There was a thread about C7 bash completion back in August last year, but it doesn't have answers for this problem.

Example: "yum install /path/to/local/package" works fine with tab completion to fill in the path and package bits.

However, "yum --debuglevel="1" install ..." just gets stuck and doesn't offer anything. The only option is to type everything out, or type enough to use a wildcard. After more testing, I found that any option argument that is quoted breaks completion. Which in turn makes me think this is not even specific to yum but bash completion in general.

Bug? Upstream bug?

CentOS mailing list
CentOS at centos.org


Leroy Tennison
Network Information/Cyber Security Specialist
E: leroy at datavoiceint.com


2220 Bush Dr
McKinney, Texas

This message has been sent on behalf of a company that is part of the Harris Operating Group of Constellation Software Inc. These companies are listed here<http://subscribe.harriscomputer.com/>.

If you prefer not to be contacted by Harris Operating Group please notify us<http://subscribe.harriscomputer.com/>.

This message is intended exclusively for the individual or entity to which it is addressed. This communication may contain information that is proprietary, privileged or confidential or otherwise legally exempt from disclosure. If you are not the named addressee, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this message in error, please notify the sender immediately by e-mail and delete all copies of the message.