From f4b280d7779050d9b844c5add3f3e179e46333d3 Mon Sep 17 00:00:00 2001 From: Felix Rosencrantz Date: Mon, 7 Apr 2003 11:23:14 +0000 Subject: Added completion functions for cygwin --- Completion/Cygwin/Command/_pscp | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Completion/Cygwin/Command/_pscp (limited to 'Completion/Cygwin/Command/_pscp') diff --git a/Completion/Cygwin/Command/_pscp b/Completion/Cygwin/Command/_pscp new file mode 100644 index 000000000..f04afb8d1 --- /dev/null +++ b/Completion/Cygwin/Command/_pscp @@ -0,0 +1,24 @@ +#compdef pscp pscp.exe +#Generated by Felix Rosencrantz + +local context state line +typeset -A opt_args +_arguments \ + '-p[preserve file attributes]' \ + "-q[quiet, don't show statistics]" \ + '-r[copy directories recursively]' \ + '-v[show verbose messages]' \ + '-load:Load settings from saved session:->sessname' \ + '-P:connect to specified port:_ports' \ + '-l:connect with specified username:_users' \ + '-pw[passw login with specified password]' \ + '(-1 -2)'{-1,-2}'[force use of particular SSH protocol version]' \ + '-C[enable compression]' \ + '-i:private key file for authentication:_files' \ + '-batch[disable all interactive prompts]' \ + '-unsafe[allow server-side wildcards (DANGEROUS)]' \ + '*: :_files' && return 0 + +case $state in + "sessname");; +esac -- cgit 1.4.1