[Bash-completion-devel] Bug#492328: bash-completion: remote rsync completion shell

Kevin Mitchell kevmitch at gmail.com
Fri Jul 25 10:23:00 UTC 2008


Package: bash-completion
Version: 20080705
Severity: minor


Maybe there's a reason for this, but the default shell set on line 2742
of /etc/bash_completion is "shell=rsh"

This would seem to contradict the rsync man page which states that
"Typically, rsync is configured to use ssh by default, but you may
prefer to use rsh on a local network." This is confirmed by the fact
that I can use rsync out of the box with any machine with a running ssh
daemon.

The result is that unless I explicitly specify "-e ssh" on the command
line, the subsequent definition of how to ssh to the remote machine and
get completions is not sourced. 

If I change the line in /etc/bash_completion to "shell=ssh" I get the
desired behaviour

Kevin


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (600, 'unstable'), (500, 'testing'), (400, 'stable'), (300, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-amd64.000 (SMP w/2 CPU cores)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1) (ignored: LC_ALL set to en_GB)
Shell: /bin/sh linked to /bin/bash

Versions of packages bash-completion depends on:
ii  bash                          3.2-4      The GNU Bourne Again SHell

bash-completion recommends no packages.

bash-completion suggests no packages.

-- no debconf information






More information about the Bash-completion-devel mailing list