fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

exploideimproved SSH completions5eadee61c

master
1.0 KiB18 linesraw
1# Load completions shared by various ssh tools like ssh, scp and sftp.
2__fish_complete_ssh sftp
3
4complete -c sftp -x -a "(__fish_complete_user_at_hosts)"
5
6complete -c sftp -s a -d 'Attempt to continue interrupted transfers'
7complete -c sftp -s B -x -d 'Size of the buffer when transferring files'
8complete -c sftp -s b -F -d 'Reads a series of commands from an input batchfile'
9complete -c sftp -s D -x -d 'Connect directly to a local SFTP server'
10complete -c sftp -s f -d 'Flush files to disk after transfer'
11complete -c sftp -s l -x -d 'Limits the used bandwidth (Kbit/s)'
12complete -c sftp -s N -d 'Disables quiet mode'
13complete -c sftp -s P -x -d 'Port to connect to on the remote host'
14complete -c sftp -s p -d 'Preserve timestamps from the original files transferred'
15complete -c sftp -s R -x -d 'How many requests may be outstanding'
16complete -c sftp -s r -d 'Recursively copy entire directories'
17complete -c sftp -s S -r -d 'Program to use for the encrypted connection'
18complete -c sftp -s s -x -d 'The SSH2 subsystem or the path for an sftp server'