From b0c39bbeb3a2bf034d7667b03c92b0c674411c5e Mon Sep 17 00:00:00 2001 From: accel Date: Mon, 31 Jan 2022 17:32:17 +0300 Subject: [PATCH] zssh imporvement --- zssh.funcs.zsh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zssh.funcs.zsh b/zssh.funcs.zsh index cb09e40..f81e8d5 100644 --- a/zssh.funcs.zsh +++ b/zssh.funcs.zsh @@ -20,6 +20,10 @@ function zssh_configure () zshlibs_ensure -d $zssh_private_configs zshlibs_ensure -d ${zssh_global_configs} zshlibs_ensure -d ${zssh_global_pubkeys} + if ! [[ -d "${zssh_private_configs}" ]] + then + echo 'Include config.d/*.sshconf' > "${zssh_ssh_dotdir}/config_d" + fi zssh_enumeratenodes if [[ ${#zssh_host_config_accesses} -gt 0 ]] then