The following commit has been merged in the master branch:
commit 2897e62fe7e535eb048f7e08f03ac3fbc3a84fa5
Author: Igor Murzov <[email protected]>
Date:   Wed Aug 22 15:13:43 2012 +0400

    fusermount: Complete curlftpfs-mounts for "fusermount -u" (Debian: #685377)
    
    Patch provided by Tim Riemenschneider <[email protected]>

diff --git a/completions/fusermount b/completions/fusermount
index fa51b22..e711e79 100644
--- a/completions/fusermount
+++ b/completions/fusermount
@@ -11,8 +11,8 @@ _fusermount()
             ;;
         -u)
             COMPREPLY=( $( compgen -W "$( awk \
-                '{ if ($3 ~ /^fuse\./) print $2 }' /etc/mtab 2>/dev/null )" \
-                -- "$cur" ) )
+                '{ if ($3 ~ /^fuse(\.|$)/) print $2 }' /etc/mtab \
+                2>/dev/null )" -- "$cur" ) )
             return 0
             ;;
     esac

-- 
bash-completion

_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-commits

Reply via email to