summary refs log tree commit diff
path: root/Completion/Cygwin/Command/_pscp
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2003-07-31 15:26:13 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2003-07-31 15:26:13 +0000
commitb84399b9cbb93f199d695d7cb264c44178a8d5e0 (patch)
treeaf329c706dd4104718b02c78e2009f9488ad59e5 /Completion/Cygwin/Command/_pscp
parent27665b32d6e1f60d6e786baa2478aa396f7e9b98 (diff)
downloadzsh-b84399b9cbb93f199d695d7cb264c44178a8d5e0.tar.gz
zsh-b84399b9cbb93f199d695d7cb264c44178a8d5e0.tar.xz
zsh-b84399b9cbb93f199d695d7cb264c44178a8d5e0.zip
tidy up of many completions (updates, fixes, improvements and plain aesthetics)
Diffstat (limited to 'Completion/Cygwin/Command/_pscp')
-rw-r--r--Completion/Cygwin/Command/_pscp20
1 files changed, 7 insertions, 13 deletions
diff --git a/Completion/Cygwin/Command/_pscp b/Completion/Cygwin/Command/_pscp
index f04afb8d1..c2b8dd979 100644
--- a/Completion/Cygwin/Command/_pscp
+++ b/Completion/Cygwin/Command/_pscp
@@ -1,24 +1,18 @@
 #compdef pscp pscp.exe
 #Generated by Felix Rosencrantz
 
-local context state line
-typeset -A opt_args
-_arguments  \
+_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]' \
+  '-load[load settings from saved session]:session' \
+  '-P[connect to specified port]:port:_ports' \
+  '-l[connect with specified username]:username:_users' \
+  '-pw[login with specified password]:password' \
   '(-1 -2)'{-1,-2}'[force use of particular SSH protocol version]' \
   '-C[enable compression]' \
-  '-i:private key file for authentication:_files' \
+  '-i[specify private key file for authentication]:private key file:_files' \
   '-batch[disable all interactive prompts]' \
   '-unsafe[allow server-side wildcards (DANGEROUS)]' \
-  '*: :_files'  && return 0
-            
-case $state in
-  "sessname");;
-esac
+  '*: :_files'