From ee180988d102b86ad10ada2002140a879aac9819 Mon Sep 17 00:00:00 2001 From: exploide Date: Fri, 10 Apr 2020 11:22:57 +0200 Subject: [PATCH] sftp completions --- share/completions/sftp.fish | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 share/completions/sftp.fish diff --git a/share/completions/sftp.fish b/share/completions/sftp.fish new file mode 100644 index 000000000..065500534 --- /dev/null +++ b/share/completions/sftp.fish @@ -0,0 +1,24 @@ +complete -c sftp -x -a "(__fish_complete_user_at_hosts)" + +complete -c sftp -s 4 -d 'Use IPv4 addresses only' +complete -c sftp -s 6 -d 'Use IPv6 addresses only' +complete -c sftp -s a -d 'Attempt to continue interrupted transfers' +complete -c sftp -s B -x -d 'Size of the buffer when transferring files' +complete -c sftp -s b -F -d 'Reads a series of commands from an input batchfile' +complete -c sftp -s C -d 'Enables compression' +complete -c sftp -s c -x -d 'The cipher to use for encrypting data' +complete -c sftp -s D -x -d 'Connect directly to a local sftp server' +complete -c sftp -s F -F -d 'Alternative per-user configuration file' +complete -c sftp -s f -d 'Flush files to disk after transfer' +complete -c sftp -s i -F -d 'Identity (private key) file' +complete -c sftp -s J -x -a "(__fish_complete_user_at_hosts)" -d 'ProxyJump host' +complete -c sftp -s l -x -d 'Limits the used bandwidth (Kbit/s)' +complete -c sftp -s o -x -d 'Set additional ssh_config options' +complete -c sftp -s P -x -d 'Port to connect to on the remote host' +complete -c sftp -s p -d 'Preserve timestamps from the original files transferred' +complete -c sftp -s q -d 'Quiet mode' +complete -c sftp -s R -x -d 'How many requests may be outstanding' +complete -c sftp -s r -d 'Recursively copy entire directories' +complete -c sftp -s S -r -d 'Program to use for the encrypted connection' +complete -c sftp -s s -x -d 'The SSH2 subsystem or the path for an sftp server' +complete -c sftp -s v -d 'Raise logging level'