Exports fix, it should not produce warnings.

This commit is contained in:
Stanislav Nikitin 2015-03-21 16:34:10 +05:00
parent 5bdc4ece37
commit 8a2c4139ab

View File

@ -2,9 +2,11 @@ for config_file in `ls ${CONFIG_PATH}/zsh/exports | sort`; do
source ${CONFIG_PATH}/zsh/exports/${config_file}
done
for config_file in `ls ${HOME}/.zsh-config.d/exports | sort`; do
if [ -f ${HOME}/.zsh-config.d/exports/${config_file} ]; then
source ${HOME}/.zsh-config.d/exports/${config_file}
fi
done
if [ -d ${HOME}/.zsh-config.d/exports ]; then
for config_file in `ls ${HOME}/.zsh-config.d/exports | sort`; do
if [ -f ${HOME}/.zsh-config.d/exports/${config_file} ]; then
source ${HOME}/.zsh-config.d/exports/${config_file}
fi
done
fi