mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-28 01:11:15 -03:00
Fix not including main ssh config in host names search
This commit is contained in:
committed by
Fabian Homborg
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
|
||||
|
||||
Reference in New Issue
Block a user