[Bug 415271] Re: no bash completion for sshfs
Bug Watch Updater
415271 at bugs.launchpad.net
Sun Jan 8 05:50:54 UTC 2012
** Changed in: bash-completion (Debian)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash-completion in Ubuntu.
https://bugs.launchpad.net/bugs/415271
Title:
no bash completion for sshfs
Status in “bash-completion” package in Ubuntu:
Fix Released
Status in “bash-completion” package in Debian:
Fix Released
Bug description:
Binary package hint: bash-completion
There is no completion of hostname and paths for sshfs, while the same
is available for scp and ssh.
Expected behaviour: typing "sshfs ser<tab>" should expand to "sshfs server.my.organisation:"
Actual behaviour: typing <tab> does not entail completion.
I'm filing this against bash completion and not against sshfs itself
because ssh and scp support are already available in
/etc/bash_completion and sshfs support is easy to add there as well.
The following one-line patch to /etc/bash_completion fixes the matter:
====================
--- /etc/bash_completion~ 2009-08-18 11:06:53.000000000 +0200
+++ /etc/bash_completion 2009-08-18 11:07:32.000000000 +0200
@@ -2688,7 +2688,7 @@
-e 's/[*@|=]$//g' -e 's/[^\/]$/& /g' ) )
return 0
}
-complete -F _scp $nospace scp
+complete -F _scp $nospace scp sshfs
}
# rsync(1) completion
===================
Description: Ubuntu 9.04
Release: 9.04
sshfs:
Installed: 2.1-1
Candidate: 2.1-1
Version table:
*** 2.1-1 0
500 http://de.archive.ubuntu.com jaunty/main Packages
100 /var/lib/dpkg/status
bash-completion:
Installed: 20080705ubuntu3
Candidate: 20080705ubuntu3
Version table:
*** 20080705ubuntu3 0
500 http://de.archive.ubuntu.com jaunty/main Packages
100 /var/lib/dpkg/status
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/415271/+subscriptions
More information about the foundations-bugs
mailing list