mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-23 04:30:24 +02:00
35972: allow for Directive=Value format in .ssh/config
This commit is contained in:
parent
db7b2f12d8
commit
764c48f54d
2 changed files with 5 additions and 2 deletions
|
@ -574,8 +574,8 @@ _ssh_hosts () {
|
|||
config="$HOME/.ssh/config"
|
||||
fi
|
||||
if [[ -r $config ]]; then
|
||||
local IFS=$'\t ' key hosts host
|
||||
while read key hosts; do
|
||||
local key hosts host
|
||||
while IFS=$'=\t ' read -r key hosts; do
|
||||
if [[ "$key" == (#i)host ]]; then
|
||||
for host in ${(z)hosts}; do
|
||||
case $host in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue