no bash completion for sshfs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash-completion (Debian) |
Fix Released
|
Unknown
|
|||
bash-completion (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
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.
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_
The following one-line patch to /etc/bash_
=======
--- /etc/bash_
+++ /etc/bash_
@@ -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://
100 /var/lib/
bash-completion:
Installed: 20080705ubuntu3
Candidate: 20080705ubuntu3
Version table:
*** 20080705ubuntu3 0
500 http://
100 /var/lib/
Changed in bash-completion (Ubuntu): | |
status: | New → Confirmed |
status: | Confirmed → New |
Changed in bash-completion (Debian): | |
status: | Unknown → New |
Changed in bash-completion (Debian): | |
status: | New → Fix Committed |
Changed in bash-completion (Debian): | |
status: | Fix Committed → Fix Released |
Changed in bash-completion (Debian): | |
status: | Fix Released → Confirmed |
Changed in bash-completion (Debian): | |
status: | Confirmed → Fix Released |
attaching a patch to the package following https:/ /wiki.ubuntu. com/Bugs/ HowToFix .