Bug 299571 - perl bash_completion doesn't complete on filenames past the first argument
Summary: perl bash_completion doesn't complete on filenames past the first argument
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: bash-completion
Version: 8
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Ville Skyttä
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-09-21 01:36 UTC by Jim Radford
Modified: 2007-11-30 22:12 UTC (History)
1 user (show)

Fixed In Version: 20060301-6.fc8
Clone Of:
Environment:
Last Closed: 2007-09-22 07:44:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch to fix perl filename completion (330 bytes, patch)
2007-09-21 01:36 UTC, Jim Radford
no flags Details | Diff

Description Jim Radford 2007-09-21 01:36:34 UTC
Type this

  perl /etc/bash_com<tab>

and it completes.  Then type

  perl /etc/bash_completion /etc/bash_com<tab>

and it doesn't complete.   Essentially the completion only looks for options
after the first argument.  With the attached patch[1] it will complete filenames
as well as options after the first argument!  Without this patch perl completion
is essentially useless.  The default bash completion would be better.

[1] http://use.perl.org/~Alias/journal/33508

Comment 1 Jim Radford 2007-09-21 01:36:34 UTC
Created attachment 201581 [details]
Patch to fix perl filename completion

Comment 2 Ville Skyttä 2007-09-22 07:44:45 UTC
Thanks, applied in 20060301-6.fc8.


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