mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 12:23:09 +00:00
Fix not including main ssh config in host names search
This commit is contained in:
parent
6161f54111
commit
5b3904e66b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue