Bug 732428 - Doesn't tab-expand shell glob patterns
Summary: Doesn't tab-expand shell glob patterns
Alias: None
Product: Fedora
Classification: Fedora
Component: bash-completion
Version: 16
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Ville Skyttä
QA Contact: Fedora Extras Quality Assurance
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:
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):

How 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.


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