Bug 1183007 - bash completion has issues
Summary: bash completion has issues
Keywords:
Status: CLOSED DUPLICATE of bug 1179227
Alias: None
Product: Fedora
Classification: Fedora
Component: bash
Version: 21
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Ondrej Oprala
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-16 12:19 UTC by Richard Allen
Modified: 2016-02-01 02:10 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-01-16 12:24:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


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