Bug 448781

Summary: autocomplete of remote directories with scp broken
Product: [Fedora] Fedora Reporter: Matthew Truch <matt>
Component: bash-completionAssignee: Ville Skyttä <ville.skytta>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 9CC: sheltren
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: 2008-05-29 05:20:15 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 Matthew Truch 2008-05-28 19:17:57 UTC
Description of problem:
Autocompletion of remote directories is broken.  When one hits tab to
autocomplete, the (optional username) and hostname are deleted.  At that point
autocompletion completely fails as now it thinks its a local directory.  

Version-Release number of selected component (if applicable):
$ rpm -q bash-completion
bash-completion-20060301-10.noarch

How reproducible:
Always

Steps to Reproduce:
1. Ensure ssh keys are exchanged between local and remote machines
2. Ensure there is path/to/file.txt in user's home directory on remote.
3. On local machine try $ scp user.com:path/to/file<tab>
  
Actual results:
completion changes line to:
$ scp path/to/file

Expected results:
completion changes line to (asuming file.txt is unique enough):
$ scp user.com:path/to/file.txt

Additional Info:
bash-completion does the right thing on my F8 machines, but not in F9.

Comment 1 Ville Skyttä 2008-05-29 05:20:15 UTC
gvfs is known to break it.

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