mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-26 05:51:08 +02:00
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.
This commit is contained in:
parent
73c0e8d4e6
commit
30bb9fe7b7
2 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,8 @@
|
|||
2016-09-06 Daniel Shahaf <d.s@daniel.shahaf.name>
|
||||
|
||||
* 39174: Completion/Unix/Command/_ssh: Fix completion of
|
||||
ProxyCommand option.
|
||||
|
||||
* 39173: Doc/Zsh/compsys.yo, README, Src/Zle/computil.c:
|
||||
_arguments: Escape colons and backslashes in $opt_args
|
||||
unambiguously.
|
||||
|
|
|
@ -382,10 +382,7 @@ _ssh () {
|
|||
'2' && ret=0
|
||||
;;
|
||||
(#i)proxycommand=*)
|
||||
compset -q
|
||||
shift 1 words
|
||||
(( CURRENT-- ))
|
||||
_normal && ret=0
|
||||
_cmdstring && ret=0
|
||||
;;
|
||||
(#i)rekeylimit=*)
|
||||
_message -e 'maximum number of bytes transmitted before renegotiating session key'
|
||||
|
|
Loading…
Reference in a new issue