2006-01-24 23:01:33 +00:00
|
|
|
#
|
|
|
|
# Completions for fusermount
|
|
|
|
#
|
|
|
|
# Find mount points, borrowed from umount.fish
|
|
|
|
#
|
2007-01-16 01:18:28 +00:00
|
|
|
complete -c fusermount --description "Mount point" -x -a '
|
2006-01-24 23:01:33 +00:00
|
|
|
(
|
2015-09-09 18:55:04 +00:00
|
|
|
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 "^/"
|
2006-01-24 23:01:33 +00:00
|
|
|
)
|
|
|
|
'
|
|
|
|
|
2007-01-16 01:18:28 +00:00
|
|
|
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"
|
|
|
|
complete -c fusermount -s u --description "Unmount"
|
|
|
|
complete -c fusermount -s q --description "Quiet"
|
|
|
|
complete -c fusermount -s z --description "Lazy unmount"
|
2006-05-29 13:52:27 +00:00
|
|
|
|