Bug 695017

Summary: bash-completion for cat, cp, other commands not working properly
Product: [Fedora] Fedora Reporter: Jason Montleon <jmontleo>
Component: bash-completionAssignee: Ville Skyttä <ville.skytta>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 15CC: sheltren, ville.skytta
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-10 07:40:42 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:

Description Jason Montleon 2011-04-09 19:23:29 UTC
Description of problem:
When I type Type `cat /ho<tab>` it expands to '/home ' instead of '/home/'

Version-Release number of selected component (if applicable):
bash-completion-1.3-2.fc15.noarch
bash-4.2.8-2.fc15.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Install bash-completion
2. Start a new shell
3. Type `cat /ho<tab>` 
  
Actual results:
Expands to '/home '

Expected results:
Expands to '/home/'

Additional info:
rpm -e bash-completion removes the unexpected behaviour for these commands.
removing /etc/bash_completion with bash-completion installed also seems to do the trick.

reinstalling bash-completion brings back the problem.

Using /etc/bash_completion from F14 (bash-completion-1.2-5.fc14) instead also works as expected.

Comment 1 Ville Skyttä 2011-04-10 07:40:42 UTC

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