diff options
author | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2014-01-29 13:33:27 +0800 |
---|---|---|
committer | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2014-01-29 13:33:27 +0800 |
commit | 8490aac025566e8f88f71d8bfb1a3789d725eda3 (patch) | |
tree | af8a5c29cdc2e59fb12165b73dd11effe8d9a740 /share/completions/sshfs.fish | |
parent | 8fbffe250a18e0bd468f2d3c894917c3d9eaa5c0 (diff) |
sshfs completions: use all directories as mount points
Closes #1268.
Diffstat (limited to 'share/completions/sshfs.fish')
-rw-r--r-- | share/completions/sshfs.fish | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/completions/sshfs.fish b/share/completions/sshfs.fish index 6c742b9c..adece8c3 100644 --- a/share/completions/sshfs.fish +++ b/share/completions/sshfs.fish @@ -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 # |