2015-03-21 19:52:26 +05:00
|
|
|
# Some default exports. They could be based on configuration variables.
|
|
|
|
for config_file in `find ${CONFIG_PATH}/zsh/exports -type f | sort`; do
|
2015-03-21 19:53:54 +05:00
|
|
|
source ${config_file}
|
2015-03-14 20:39:49 +05:00
|
|
|
done
|
|
|
|
|
2015-03-21 19:52:26 +05:00
|
|
|
# We should import user-specific exports and use them.
|
2015-03-21 16:34:10 +05:00
|
|
|
if [ -d ${HOME}/.zsh-config.d/exports ]; then
|
2015-03-21 19:52:26 +05:00
|
|
|
for config_file in `find ${HOME}/.zsh-config.d/exports -type f | sort`; do
|
2015-03-21 19:53:54 +05:00
|
|
|
if [ -f ${config_file} ]; then
|
|
|
|
source ${config_file}
|
2015-03-21 16:34:10 +05:00
|
|
|
fi
|
|
|
|
done
|
|
|
|
fi
|
2015-03-14 20:39:49 +05:00
|
|
|
|