dotfiles/zshenv
2018-11-09 21:28:28 +02:00

10 lines
292 B
Bash

#!/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