help / color / mirror / code / Atom feed
* [PATH] fix typo in _ssh
@ 2023-04-17  2:24 Jun T
  0 siblings, 0 replies; only message in thread
From: Jun T @ 2023-04-17  2:24 UTC (permalink / raw)
  To: zsh-workers

% scp <TAB>
_arguments:comparguments:327: invalid rest argument definition: *(-O)-X+[specify ...

diff --git a/Completion/Unix/Command/_ssh b/Completion/Unix/Command/_ssh
index e9ca454b4..fd2a90b59 100644
--- a/Completion/Unix/Command/_ssh
+++ b/Completion/Unix/Command/_ssh
@@ -27,7 +27,7 @@ _ssh () {
     '-r[recursively copy directories (follows symbolic links)]'
     '-S+[specify ssh program]:path to ssh:_command_names -e'
     '-v[verbose mode]'
-    '*(-O)-X+[specify sftp protocol option]: : _values "sftp option"
+    '(-O)*-X+[specify sftp protocol option]: : _values "sftp option"
       "nrequests[set max concurrent SFTP read or write requests]\:requests [64]"
       "buffer[set max buffer size for a single SFTP read/write operation]\: \:_numbers -l 0 -m 256K -d 32K -u bytes -f size \:B\:bytes \:K\:kilobytes"'

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-04-17  2:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-17  2:24 [PATH] fix typo in _ssh Jun T

Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).