Bug 732428

Summary: Doesn't tab-expand shell glob patterns
Product: [Fedora] Fedora Reporter: Nils Philippsen <nphilipp>
Component: bash-completionAssignee: Ville Skyttä <ville.skytta>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: sheltren, ville.skytta
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-22 20:28:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 713566    

Description Nils Philippsen 2011-08-22 12:52:09 UTC
Description of problem:
Without bash-completion, in a directory having e.g. a file called "somepackage-1.23.45.tar.gz", you could do stuff like this:

cp *1.23.45*<Tab>

which would expand the command line to the complete file name:

cp somepackage-1.23.45.tar.gz

At this point you could continue editing the line.

With bash-completion installed (as is the default on F-16, that's why I labeled this as a regression over F-15), pressing Tab results in no action at all, neither expansion nor anything else.

Version-Release number of selected component (if applicable):
bash-completion-1.3-5.fc16.noarch

How reproducible:
Reproducible

Steps to Reproduce:
See above.
  
Actual results:
Nothing happens when pressing <Tab>.

Expected results:
Expands to filename (or show alternatives if there is more than one file matching the glob), then lets me continue editing the command line.

Comment 1 Ville Skyttä 2011-08-22 20:28:20 UTC
This is a known problem in bash-completion but not a regression in it - bash-completion has never supported that behavior as far as I can tell.

http://alioth.debian.org/tracker/index.php?func=detail&aid=311982&group_id=100114&atid=413095