1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-06-29 00:51:01 +02:00
Commit graph

87 commits

Author SHA1 Message Date
Oliver Kiddle
c7ae370160 52798: handle comments in ssh config 2024-03-26 00:06:05 +01:00
Oliver Kiddle
985952e2f6 52217: update completions for FreeBSD 14 2023-10-11 00:57:16 +02:00
Jun-ichi Takimoto
c0caef5613 52112: use '_normal -p subcmd' to complete only external command 2023-09-04 15:07:52 +09:00
Jun-ichi Takimoto
ba3631b414 51663: fix a typo in 51582 (_ssh) 2023-04-18 13:03:39 +09:00
Oliver Kiddle
6386dd94fd 51582: openssh 9.3 completion update 2023-03-16 22:15:28 +01:00
Xavier Hsinyuan
0f1e4d8e78 github (tweaked): _ssh: update options in apple's version of ssh-add 2021-10-16 20:23:41 -05:00
Oliver Kiddle
e6fdd35a83 49150: consistently use singular form for headings on completion match groups 2021-07-09 00:23:52 +02:00
Oliver Kiddle
bffe543142 49149: add specific values in completion after ssh-keygen -b depending on the key type 2021-07-09 00:14:02 +02:00
Oliver Kiddle
41071eaed7 48623: update options in openssh completion to version 8.6 2021-05-16 20:41:55 +02:00
Oliver Kiddle
edb5459d61 47322: allow prefix with ssh cipher completion and add matching control for options 2020-08-21 17:41:08 +02:00
Oliver Kiddle
a891557b49 44849: completion updates for changes in OpenBSD 6.6 2019-10-18 22:47:32 +02:00
Oliver Kiddle
934fc7d116 44783, 44791: mark some repeatable options with * in the _arguments specs 2019-09-30 23:20:24 +02:00
Oliver Kiddle
6a0874cad6 44349: completion option updates 2019-05-23 01:19:02 +02:00
dana
9208e321da 44234: _ssh: Update for OpenSSH 8.0 2019-04-26 17:43:19 -05:00
Oliver Kiddle
d5fec6b512 43816: various completion option updates 2018-11-12 10:32:41 +01:00
Oliver Kiddle
39f58eb318 42659: various completion option updates 2018-04-16 17:02:56 +02:00
Oliver Kiddle
9004b59115 42584: complete options for ssh-keyscan and update options for ssh-copy-id 2018-04-05 11:32:57 +02:00
Oliver Kiddle
4977ec1398 42491 based on 42000 (Andrei Shevchuk): factor ssh host completion for use for mosh and git 2018-03-24 00:09:12 +01:00
Oliver Kiddle
47430bcd7c 42317: completion option updates for commands that have had recent updates 2018-01-23 11:03:00 +01:00
dana
349c95765a dana: various OpenSSH completion improvements 2017-12-22 19:58:24 +00:00
Oliver Kiddle
8eaacb3541 41431: update options in assorted completions 2017-07-15 14:53:53 +02:00
Barton E. Schaefer
5ded0ad967 41159: handle "Include" and "HostName" lines in ~/.ssh/config
Added 2>/dev/null to conceal file access errors.
2017-05-28 11:27:55 -07:00
Oliver Kiddle
fe67ccacf1 39974: complete shared libraries for -e and -s options to ssh-add 2016-11-20 23:59:35 +01:00
Daniel Shahaf
7ad0001183 39479 + 39481 minus _path_files hunk (see 39489): Completion: audit 'compset -P' calls to use shortest match where applicable, plus random drive-by tweaks.
Found by grepping for patterns that can match needles of various lengths:

    :grep 'compset -[PS].*[\#^*()\|<>?~\]' Completion/
2016-10-07 13:56:31 +00:00
Oliver Kiddle
8011fe8a58 39261 (tweaked cf. Daniel: 39275): don't unconditionally elevate privileges with sudo in completion functions
A new gain-privileges style enables it and a _comp_priv_prefix array
added for tracking how to match privileges for the current command
2016-09-11 13:49:22 +02:00
Daniel Shahaf
30bb9fe7b7 39174: _ssh: Fix completion of ProxyCommand option.
The incumbent code would discard the first word of the value of the
ProxyCommand option.  Stop doing so.  With that removed the remaining
two lines were equivalent to _cmdstring, so just call it directly.
2016-09-06 23:49:07 +00:00
Oliver Kiddle
580698bc71 39067: update options to correspond to latest versions of software in various functions 2016-08-19 18:00:07 +02:00
Barton E. Schaefer
485cbbb6cc 37972: Redirect stderr to /dev/null in cases where ${~param} might generate errors 2016-02-14 13:10:06 -08:00
Matthew Martin
509c822b62 36869: use permissions to limit files completed for ssh identity files 2015-10-19 11:23:57 +02:00
Mikael Magnusson
a62e968224 36183: _ssh: update to 7.0 2015-08-17 01:00:18 +02:00
Oliver Kiddle
cf77e28a3f 36127: assorted minor completion function changes 2015-08-12 18:06:03 +02:00
Christian Hesse
2fc05d522f 35991: _ssh: add ssh option FingerprintHash
Signed-off-by: Christian Hesse <mail@eworm.de>
2015-08-05 23:38:21 +02:00
Mikael Magnusson
fb0b6483a0 unposted: _ssh: use the -q option for the = suffix
This way, you can press = to start completing the values instead of
the space, backspace, tab dance
2015-08-05 19:45:35 +02:00
Mikael Magnusson
8ce0320d1b 35989: _ssh: update to 6.9 2015-08-05 19:38:02 +02:00
Eric Cook
764c48f54d 35972: allow for Directive=Value format in .ssh/config 2015-08-05 15:57:24 +02:00
Christian Hesse
db7b2f12d8 35986: add ssh option UpdateHostKeys 2015-08-05 15:47:14 +02:00
Christian Hesse
0ab7834a15 32316: complete new ssh key type 2014-01-29 09:24:54 +00:00
Peter Stephenson
275ba0fdca Han Pingtian: 31167 (with tweak): limit use of colons for recognising
remote path in ssh completion
2013-03-20 20:33:45 +00:00
Mikael Magnusson
95f02efe7e 30474: add ssh -O cancel completion 2012-05-17 13:37:08 +00:00
Mikael Magnusson
f3a1ac84b0 30371: _ssh: you can specify -i multiple times 2012-03-24 22:46:04 +00:00
Clint Adams
50a3065dc2 30314: add completion for ssh-copy-id. 2012-03-05 16:03:11 +00:00
Mikael Magnusson
a7794bd153 29961: _ssh: extend option completion. 2011-12-10 19:37:35 +00:00
Mikael Magnusson
ac78bd010c 29962: Actually return ret in _ssh. 2011-12-10 19:35:49 +00:00
Simon Ruderich
d374f2b180 29918: Completion: Add new _remote_files() helper and use it to reduce code duplication. 2011-12-09 22:39:08 +00:00
Simon Ruderich
3e1146677f 29917: Completion/Unix/Command/_ssh: Tabs to spaces. 2011-12-09 22:32:52 +00:00
Peter Stephenson
b0602dc5b4 Ignacy Gawędzki: 29912: add "--" to ls in ssh completion 2011-11-23 09:50:56 +00:00
Simon Ruderich
b337296b93 29893: Completion/Unix/Command/_ssh: Update (mostly) for 5.9. 2011-11-07 20:57:44 +00:00
Mikael Magnusson
0e0f259540 29755: add -O stop to to _ssh. 2011-09-07 07:32:57 +00:00
Mikael Magnusson
76524a7f7d 29738: _ssh: Add PreferredAuthentications completion. 2011-09-06 16:15:06 +00:00
Mikael Magnusson
7ae7996614 29683: add -O forward to _ssh. 2011-08-17 10:20:00 +00:00