[Bash-completion-devel] [bash-completion-Bugs][312173] rsync script does not correctly complete host: word with ssh connection.

bash-completion-bugs at alioth.debian.org bash-completion-bugs at alioth.debian.org
Mon Dec 21 18:56:11 UTC 2009


Bugs item #312173, was opened at 2009-12-21 18:56 by Jeremie Lasalle Ratelle
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=312173&group_id=100114

Status: Open
Priority: 3
Submitted By: Jeremie Lasalle Ratelle (ratelle-guest)
Assigned to: Nobody (None)
Summary: rsync script does not correctly complete host: word with ssh connection. 
Distribution: Gentoo
Originally reported in: Gentoo Bugzilla
Milestone: None
Status: None
Original bug number: 


Initial Comment:
Copying gentoo bug report

When you try to complete a path of the host:... form the rsync script does not
do it correctly. If you look at the code, it is the same as the scp code in the
ssh script. The only difference is that the scp code has

cur=`_get_cword ":"`

but the rsync script has

cur = `_get_cword`

If you change for the scp version it works correctly.

The only problem is I'm not sure if it might break something else for rsync
bash completion...

Reproducible: Always

Steps to Reproduce:
1. Type rsync hostname:
2. Press <tab>

Actual Results:  
You will see a list of local files and directories.

Expected Results:  
List of remote files and directories.


----------------------------------------------------------------------

You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=312173&group_id=100114



More information about the Bash-completion-devel mailing list