Bug 299571

Summary: perl bash_completion doesn't complete on filenames past the first argument
Product: [Fedora] Fedora Reporter: Jim Radford <radford>
Component: bash-completionAssignee: Ville Skyttä <ville.skytta>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 8CC: sheltren
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 20060301-6.fc8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-09-22 07:44:45 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:
Attachments:
Description Flags
Patch to fix perl filename completion none

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.