From 2897e62fe7e535eb048f7e08f03ac3fbc3a84fa5 Mon Sep 17 00:00:00 2001 From: Igor Murzov Date: Wed, 22 Aug 2012 15:13:43 +0400 Subject: [PATCH] fusermount: Complete curlftpfs-mounts for "fusermount -u" (Debian: #685377) Patch provided by Tim Riemenschneider --- completions/fusermount | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/completions/fusermount b/completions/fusermount index fa51b228..e711e791 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