Closed
Description
Describe the bug
In 3.2.4 rsync changed the default way that arguments were passed to a remote ssh host, to no longer require double-escaping.
The bash-completion still double-escapes.
To reproduce
- Create
/tmp/foo bar
on a remote machine (namedremote
) - Type
rsync remote:/tmp/foo
- Press tab.
- Note that this completes to
rsync remote:/tmp/foo\\\ bar
, which is incorrect.
Expected behaviour
The remote path should only be escaped once, not twice (unless the --old-args
argument is passed to rsync (>= 3.2.4)
Versions (please complete the following information)
- Operating system name/distribution and version: Debian testing
- bash version,
echo "$BASH_VERSION"
:5.2.2(1)-release
- bash-completion version,
(IFS=.; echo "${BASH_COMPLETION_VERSINFO[*]}")
:2.11
(Debian:1:2.11-6
)
Metadata
Metadata
Assignees
Labels
No labels