2015-03-08 22:21:29 +05:00
|
|
|
# Configuration file loader.
|
|
|
|
|
|
|
|
if [ ! -d ${HOME}/.zsh-config.d/ ]; then
|
|
|
|
cp -R ${CONFIG_PATH}/zsh/defaults/ ${HOME}/.zsh-config.d
|
|
|
|
echo "Looks like it's a very first launch. So I've copied default config to '${HOME}/.zsh-config.d/'"
|
|
|
|
fi
|
|
|
|
|
2015-03-21 19:52:26 +05:00
|
|
|
for file in `find ${HOME}/.zsh-config.d/ -type f -depth 1 | sort`; do
|
2015-03-08 22:21:29 +05:00
|
|
|
source ${HOME}/.zsh-config.d/${file}
|
2015-03-21 19:52:26 +05:00
|
|
|
done
|