1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-09 12:21:14 +02:00
Commit graph

69 commits

Author SHA1 Message Date
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
Clint Adams
b1e8b11abe 27579: allow ssh -S argument to follow immediately the option letter. 2010-01-07 14:02:59 +00:00
Bart Schaefer
7125514c46 users/14076 + workers/26906: Completion/Unix/Command/_ssh: fix autoremoval
of some suffixes.
2009-04-30 18:02:08 +00:00
Peter Stephenson
65168c749c 26900: Ben Haskell: ssh -Y, -x and -X are mutually exclusive 2009-04-29 16:36:53 +00:00
Peter Stephenson
e84adfe6cb 26899: Ingmar Vanhassel: complete ssh -Y 2009-04-29 12:32:37 +00:00
Clint Adams
9b3a41d529 Jörg Sommer: 25882: run ssh with -oBatchMode=yes. 2008-10-14 21:08:00 +00:00
Peter Stephenson
7072c10ae2 users/11333: fix users-hosts for ssh when user matched 2007-03-25 12:51:43 +00:00
Peter Stephenson
e12c3e2dc9 users/10981: needs glob_subst for config file 2006-11-14 17:16:39 +00:00
Peter Stephenson
b50e035a8a users/10979: ssh completion uses config file from -F if present 2006-11-14 12:12:03 +00:00
Clint Adams
55739ab8ae 22812: utilize _bind_addresses in existing completion functions. 2006-10-03 16:24:51 +00:00
Clint Adams
13e2483152 22105: ssh -M, -S, and -O 2005-12-25 01:02:24 +00:00
Clint Adams
339989a273 22104: add support for new options such as ControlMaster and ControlPath. 2005-12-25 00:31:43 +00:00
Wayne Davison
d8200a0b74 Make the new completion handle multile names per "Host" directive
and elide names that contain wildcards.
2005-11-18 17:43:25 +00:00
Peter Stephenson
b1c72569b9 users/9688: improved _ssh_hosts from Hanna Koivisto 2005-11-18 14:53:43 +00:00
Bart Schaefer
627cafd9db 21235,21236: fixes to _remote_files 2005-05-09 02:38:32 +00:00
Clint Adams
9a68e6425b * 20583: Completion/Unix/Command/_ssh: complete "modern" options
such as GSSAPIAuthentication.
2004-11-27 17:41:22 +00:00
Bart Schaefer
2313f83218 As suggested by 19666 and corrected by 19668, fix remote file completion. 2004-03-21 01:54:49 +00:00
Oliver Kiddle
824ea0edc9 19457: new sed and uniq completions, add descriptions for rar commands and
update completion for ssh-keygen
2004-02-23 17:03:09 +00:00
Oliver Kiddle
9d071829ec users/6080, users/6083: more quoting fixes 2003-05-07 12:44:46 +00:00