From 7a8b4bb4e23ac9f32da6c9aa3d61b157f0e08771 Mon Sep 17 00:00:00 2001 From: arcan1s Date: Wed, 28 Oct 2015 13:14:05 +0300 Subject: [PATCH] fix zsh cfg reading --- zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zshrc b/zshrc index 6e05eac..7c58a6a 100644 --- a/zshrc +++ b/zshrc @@ -103,5 +103,5 @@ for _DIR in $(find "${HOME}/.local/bin" -type d 2> /dev/null); do export PATH="$ # fix urxvt if [[ ${TERM} =~ "rxvt-unicode-*" ]] export TERM="xterm" -## load custom settings from $HOME/.zsh -for _SCR in $(find "${HOME}/.zsh/" -type 'f' -or -type 'l' 2> /dev/null); do source "${_SCR}"; done +# 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