From 71e9db03dc99edcb305662cbefc0ab2444e4dea3 Mon Sep 17 00:00:00 2001 From: arcan1s Date: Fri, 25 Dec 2015 14:29:56 +0300 Subject: [PATCH] add funcking ssh config settings --- zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zshrc b/zshrc index 7c58a6a..4d90e9f 100644 --- a/zshrc +++ b/zshrc @@ -102,6 +102,9 @@ export GCC_COLOR="auto" for _DIR in $(find "${HOME}/.local/bin" -type d 2> /dev/null); do export PATH="${_DIR}:${PATH}"; done # fix urxvt if [[ ${TERM} =~ "rxvt-unicode-*" ]] export TERM="xterm" +# load valid ssh config +/bin/rm "${HOME}/.ssh/config" +find "${HOME}/.ssh/conf.d" -type f -name '*.conf' -exec cat {} > "${HOME}/.ssh/config" \; 2> /dev/null # load custom settings from $HOME/.zsh for _SCR in $(find "${HOME}/.zsh/" -type 'f' -or -type 'l' -maxdepth 1 2> /dev/null); do source "${_SCR}"; done