Package: bash-completion
Version: 1:2.0-1
Severity: minor
Tags: patch

Because the filesystem-type of curlftpfs-mount in /etc/mtab is just "fuse"
instead of fuse.curlftp or something like that (cf. sshfs => fuse.sshfs), they
are not completed.

This patch fixes that.



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (900, 'testing'), (900, 'stable'), (600, 'unstable'), (100,
'proposed-updates'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages bash-completion depends on:
ii  bash  4.2-4
ii  dpkg  1.16.4.3

bash-completion recommends no packages.

bash-completion suggests no packages.

-- no debconf information
--- /usr/share/bash-completion/completions/fusermount.orig	2012-06-17 21:09:06.000000000 +0200
+++ /usr/share/bash-completion/completions/fusermount	2012-08-20 12:37:39.451274139 +0200
@@ -11,7 +11,7 @@
             ;;
         -u)
             COMPREPLY=( $( compgen -W "$( awk \
-                '{ if ($3 ~ /^fuse\./) print $2 }' /etc/mtab 2>/dev/null )" \
+                '{ if ($3 ~ /^fuse(\.|$)/) print $2 }' /etc/mtab 2>/dev/null )" \
                 -- "$cur" ) )
             return 0
             ;;

Reply via email to