2006-01-24 23:01:33 +00:00
|
|
|
#
|
|
|
|
# Completions for fusermount
|
|
|
|
#
|
|
|
|
# Find mount points, borrowed from umount.fish
|
|
|
|
#
|
2006-03-01 16:53:47 +00:00
|
|
|
complete -c fusermount -d (N_ "Mount point") -x -a '
|
2006-01-24 23:01:33 +00:00
|
|
|
(
|
2006-11-29 14:00:04 +00:00
|
|
|
cat /etc/mtab | sgrep "^sshfs" | cut -d " " -f 1-2|tr " " \n|sed -e "s/[0-9\.]*:\//\//"|sgrep "^/"
|
|
|
|
cat /etc/mtab | sgrep "^fuseiso" | cut -d " " -f 1-2|tr " " \n|sed -e "s/[0-9\.]*:\//\//"|sgrep "^/"
|
2006-01-24 23:01:33 +00:00
|
|
|
)
|
|
|
|
'
|
|
|
|
|
2006-03-01 16:53:47 +00:00
|
|
|
complete -c fusermount -s h -d (N_ "Display help and exit")
|
|
|
|
complete -c fusermount -s v -d (N_ "Display version and exit")
|
|
|
|
complete -c fusermount -s o -x -d (N_ "Mount options")
|
|
|
|
complete -c fusermount -s u -d (N_ "Unmount")
|
|
|
|
complete -c fusermount -s q -d (N_ "Quiet")
|
|
|
|
complete -c fusermount -s z -d (N_ "Lazy unmount")
|
2006-05-29 13:52:27 +00:00
|
|
|
|