You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

17 lines
417 B

export DOTFILES=$(cd "$(dirname "$HOME/$(readlink $HOME/.zshenv)")" && cd .. && pwd)
source "$DOTFILES/helpers"
cleanup_helpers
# Load env files
typeset -U config_files
config_files=($DOTFILES/**/*.sh)
for file in ${(M)config_files:#*/env.sh}; do
source "$file"
done
unset config_files
# Load .local file at the end for post configurations
if [ -e "$HOME/.zshenv.local" ]; then
source "$HOME/.zshenv.local"
fi