/usr/share/fish/completions/sshfs.fish is in fish-common 2.4.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | #
# Completions for sshfs
#
# Host combinations, borrowed from ssh.fish
#
complete -x -c sshfs -d Hostname -a "
(__fish_print_hostnames):
(
#Prepend any username specified in the completion to the hostname
echo (commandline -ct)|sed -ne 's/\(.*@\).*/\1/p'
)(__fish_print_hostnames):
(__fish_print_users)@
"
#
# Mount Points
#
complete -c sshfs -x -a '(__fish_complete_directories (commandline -ct) "Mount point")'
#
# Command options
#
complete -c sshfs -s V --description "Display version and exit"
complete -c sshfs -s p -x --description "Port"
complete -c sshfs -s C --description "Compression"
complete -c sshfs -s o -x --description "Mount options"
complete -c sshfs -s d --description "Enable debug"
complete -c sshfs -s f --description "Foreground operation"
complete -c sshfs -s s --description "Disable multi-threaded operation"
complete -c sshfs -s r --description "Mount options"
complete -c sshfs -s h --description "Display help and exit"
|