Bug 732428 - Doesn't tab-expand shell glob patterns
Summary: Doesn't tab-expand shell glob patterns
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: bash-completion
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ville Skyttä
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F16-accepted, F16FinalFreezeExcept
TreeView+ depends on / blocked
 
Reported: 2011-08-22 12:52 UTC by Nils Philippsen
Modified: 2011-08-22 20:28 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-22 20:28:20 UTC


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.