Fix not including main ssh config in host names search
This commit is contained in:
parent
6161f54111
commit
5b3904e66b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user