Bug 739472

Summary: tab-completion of $FOO/ becomes \$FOO/
Product: [Fedora] Fedora Reporter: Jonathan Wakely <fedoration>
Component: bashAssignee: Roman Rakus <rrakus>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: maxamillion, rrakus, tsmetana
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-09-19 11:15:16 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 Jonathan Wakely 2011-09-19 07:55:25 UTC
Description of problem:

tab-completion of a path containing a shell variable insets a backslash to escape the $ in the variable

Version-Release number of selected component (if applicable):

bash-4.2.10-4.fc15.x86_64
bash-completion-1.3-5.fc15.noarch

How reproducible:

Always

Steps to Reproduce:
1.  ls $PWD/.<TAB><Enter>
2.  ls $HOME/.<TAB><Enter>

  
Actual results:

bash-completion inserts a backslash before the $, causing the commands to fail

ls: cannot access $PWD/.: No such file or directory
ls: cannot access $HOME/.: No such file or directory


Expected results:

no backslash, commands work

Additional info:

uninstalling bash-completion didn't help, so I've used Component=bash

Comment 1 Roman Rakus 2011-09-19 11:15:16 UTC

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