Bug 1183007

Summary: bash completion has issues
Product: [Fedora] Fedora Reporter: Richard Allen <ra>
Component: bashAssignee: Ondrej Oprala <ooprala>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 21CC: admiller, devin, ooprala, ovasik
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-16 12:24:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Richard Allen 2015-01-16 12:19:13 UTC
Description of problem:
bash can't seem to complete filenames with spaces in some cases

Version-Release number of selected component (if applicable):
Fedora 21, bash-4.3.33-1.fc21.x86_64

How reproducible:
Every time

Steps to Reproduce:
1. mkdir foo\ bar foo\ rab foo\ huh foo\ blah foo\ qwe\ ert
2. cd foo[tab][tab]

Actual results:
Only the "foo" part is completed.   further presses of the tab key should present options but does not.
Interestingly rm -fr foo[tab][tab] works.
Also, removing the folder that has two spaces in it's name also "fixes" the issue

Expected results:
bash should present options when it can only partially complete

Additional info:

Comment 1 Richard Allen 2015-01-16 12:22:18 UTC
adding "complete -r" to .bashrc fixes it as well.

Comment 2 Ondrej Oprala 2015-01-16 12:24:03 UTC
Hi and thanks for the report, there's already a report for this.
Please check #1179227 for further changes.

*** This bug has been marked as a duplicate of bug 1179227 ***