[Bash-completion-devel] Bug#545978: sshfs's syntax rather different from scp's

Valarie Moore jeixav at gmail.com
Sun Nov 8 21:37:44 UTC 2009


reopen 545978
stop

It seems that using the same completion code as scp's for sshfs is
better than nothing, but I don't think it works as well as it could.
scp's syntax is (ignoring command-line options):

scp [[user@]host1:]file1 ... [[user@]host2:]file2

whereas sshfs's syntax is:

sshfs [user@]host:[dir] mountpoint

When trying to complete for 'mountpoint', I think only local
directories should be offered, but with the patch provided earlier in
this bug report, remote hostnames and local files are offered as well.





More information about the Bash-completion-devel mailing list