dotfiles/zshenv

11 lines
292 B
Text
Raw Normal View History

2018-11-09 19:28:28 +00:00
#!/usr/bin/env zsh
if [[ -n "$DOTFILES_PATH" ]]; then
for script in functions path exports; do
source "$DOTFILES_PATH/lib/$script.zsh"
source_if_exists "$DOTFILES_PATH/custom/$script.zsh"
done
else
echo "please, set DOTFILES_PATH to the path to your dotfiles directory" >&2
fi