sshfs completions: use all directories as mount points

Closes #1268.
This commit is contained in:
David Adam 2014-01-29 13:33:27 +08:00
parent 8fbffe250a
commit 8490aac025

View File

@ -15,9 +15,9 @@ complete -x -c sshfs -d Hostname -a "
(__fish_print_users)@
"
#
# Mount Points, for neatness, I am only mounting under ~/mnt/
# Mount Points
#
complete -c sshfs --description "Mount point" -x -a '(find ~/mnt -type d)'
complete -c sshfs -x -a '(__fish_complete_directories (commandline -ct) "Mount point")'
#
# Command options
#