From 5b3904e66b0a3c00ba14fe3da1c50b546a5ef154 Mon Sep 17 00:00:00 2001 From: Dale Eidd Date: Tue, 6 Jun 2017 00:37:39 +0800 Subject: [PATCH] Fix not including main ssh config in host names search --- share/functions/__fish_print_hostnames.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/__fish_print_hostnames.fish b/share/functions/__fish_print_hostnames.fish index 6175ccf12..98cf08186 100644 --- a/share/functions/__fish_print_hostnames.fish +++ b/share/functions/__fish_print_hostnames.fish @@ -74,7 +74,7 @@ function __fish_print_hostnames -d "Print a list of known hostnames" end _recursive $ssh_config end - set -l ssh_configs (_ssh_include /etc/ssh/ssh_config) (_ssh_include $ssh_config) + set -l ssh_configs /etc/ssh/ssh_config (_ssh_include /etc/ssh/ssh_config) $ssh_config (_ssh_include $ssh_config) for file in $ssh_configs if test -r $file