1
0
Fork 0
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:
Eric Cook 2015-08-05 15:57:24 +02:00 committed by Oliver Kiddle
parent db7b2f12d8
commit 764c48f54d
2 changed files with 5 additions and 2 deletions

View file

@ -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