From 5a5b51c909dc78f33a4a2f3207dafbeb5eb500c0 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Tue, 13 Dec 2016 10:03:37 +0530 Subject: [PATCH] Fix fusermount completion --- share/completions/fusermount.fish | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/share/completions/fusermount.fish b/share/completions/fusermount.fish index 4d9d6a7d7..19246e9d5 100644 --- a/share/completions/fusermount.fish +++ b/share/completions/fusermount.fish @@ -3,13 +3,7 @@ # # Find mount points, borrowed from umount.fish # -complete -c fusermount --description "Mount point" -x -a ' -( - cat /etc/mtab | __fish_sgrep "^sshfs" | cut -d " " -f 1-2|tr " " \n|sed -e "s/[0-9\.]*:\//\//"| __fish_sgrep "^/" - cat /etc/mtab | __fish_sgrep "^fuseiso" | cut -d " " -f 1-2|tr " " \n|sed -e "s/[0-9\.]*:\//\//"| __fish_sgrep "^/" -) -' - +complete -c fusermount --description "Mount point" -x -a '(__fish_print_mounted)' complete -c fusermount -s h --description "Display help and exit" complete -c fusermount -s v --description "Display version and exit" complete -c fusermount -s o -x --description "Mount options"