Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATH] fix typo in _ssh
- X-seq: zsh-workers 51663
- From: Jun T <takimoto-j@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATH] fix typo in _ssh
- Date: Mon, 17 Apr 2023 11:24:15 +0900
- Archived-at: <https://zsh.org/workers/51663>
- List-id: <zsh-workers.zsh.org>
% 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"'
)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author