Package: bash-completion
Version: 1:1.0-3
Severity: wishlist
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch karmic

This bug was originally filed as:

  https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/415271

It would be useful to include completion for sshfs, which apparently can
essentially just use the same completion code as scp. Here follows a
patch by Timo Baumann to add this, updated by me to apply to the current
git tree.

diff --git a/contrib/ssh b/contrib/ssh
index 85325aa..604d24e 100644
--- a/contrib/ssh
+++ b/contrib/ssh
@@ -114,7 +114,7 @@ _scp()
 
        return 0
 }
-complete -F _scp $nospace scp
+complete -F _scp $nospace scp sshfs
 
 # ssh-copy-id(1) completion
 #

Thanks,

-- 
Colin Watson                                       [cjwat...@ubuntu.com]



_______________________________________________
Bash-completion-devel mailing list
Bash-completion-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel

Reply via email to