forked from misc/zsh-config
Exports fix, it should not produce warnings.
This commit is contained in:
parent
5bdc4ece37
commit
8a2c4139ab
@ -2,9 +2,11 @@ for config_file in `ls ${CONFIG_PATH}/zsh/exports | sort`; do
|
|||||||
source ${CONFIG_PATH}/zsh/exports/${config_file}
|
source ${CONFIG_PATH}/zsh/exports/${config_file}
|
||||||
done
|
done
|
||||||
|
|
||||||
|
if [ -d ${HOME}/.zsh-config.d/exports ]; then
|
||||||
for config_file in `ls ${HOME}/.zsh-config.d/exports | sort`; do
|
for config_file in `ls ${HOME}/.zsh-config.d/exports | sort`; do
|
||||||
if [ -f ${HOME}/.zsh-config.d/exports/${config_file} ]; then
|
if [ -f ${HOME}/.zsh-config.d/exports/${config_file} ]; then
|
||||||
source ${HOME}/.zsh-config.d/exports/${config_file}
|
source ${HOME}/.zsh-config.d/exports/${config_file}
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user