From 764c48f54dfe0a04f18330b0b12f16a894ff34cb Mon Sep 17 00:00:00 2001 From: Eric Cook Date: Wed, 5 Aug 2015 15:57:24 +0200 Subject: 35972: allow for Directive=Value format in .ssh/config --- Completion/Unix/Command/_ssh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Completion') diff --git a/Completion/Unix/Command/_ssh b/Completion/Unix/Command/_ssh index b23ce3b4e..8649521fa 100644 --- a/Completion/Unix/Command/_ssh +++ b/Completion/Unix/Command/_ssh @@ -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 -- cgit 1.4.1