diff options
| author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-09-04 19:25:58 +0000 |
|---|---|---|
| committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-09-06 23:49:07 +0000 |
| commit | 30bb9fe7b770304422a4958f76b0cec0b918a89a (patch) | |
| tree | ba5a5392461bce89a9e0c208c74170b08c818ac8 /Completion/Unix/Command/_ssh | |
| parent | 39173: _arguments: Escape colons and backslashes in $opt_args unambiguously. (diff) | |
| download | zsh-30bb9fe7b770304422a4958f76b0cec0b918a89a.tar zsh-30bb9fe7b770304422a4958f76b0cec0b918a89a.tar.gz zsh-30bb9fe7b770304422a4958f76b0cec0b918a89a.tar.bz2 zsh-30bb9fe7b770304422a4958f76b0cec0b918a89a.tar.lz zsh-30bb9fe7b770304422a4958f76b0cec0b918a89a.tar.xz zsh-30bb9fe7b770304422a4958f76b0cec0b918a89a.tar.zst zsh-30bb9fe7b770304422a4958f76b0cec0b918a89a.zip | |
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.
Diffstat (limited to 'Completion/Unix/Command/_ssh')
| -rw-r--r-- | Completion/Unix/Command/_ssh | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Completion/Unix/Command/_ssh b/Completion/Unix/Command/_ssh index 727fd35f4..7b2cdd8e1 100644 --- a/Completion/Unix/Command/_ssh +++ b/Completion/Unix/Command/_ssh @@ -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' |
