mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 21:44:11 +01:00
25 lines
781 B
Plaintext
25 lines
781 B
Plaintext
#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
|