Package: bash-completion
Version: 1:1.0-3
Severity: wishlist
Tags: patch
User: [email protected]
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                                       [[email protected]]



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to