[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 2.0-30-g2897e62

Igor Murzov e-mail at date.by
Wed Aug 22 11:18:52 UTC 2012


The following commit has been merged in the master branch:
commit 2897e62fe7e535eb048f7e08f03ac3fbc3a84fa5
Author: Igor Murzov <e-mail at date.by>
Date:   Wed Aug 22 15:13:43 2012 +0400

    fusermount: Complete curlftpfs-mounts for "fusermount -u" (Debian: #685377)
    
    Patch provided by Tim Riemenschneider <debian at tim-riemenschneider.de>

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



More information about the Bash-completion-commits mailing list