export XDG_DATA_HOME=~/share
export XDG_DATA_DIRS=~/.local/share:/usr/pkg/share:/usr/local/share:/usr/share
export XDG_CACHE_HOME=~/tmp
+export XDG_RUNTIME_DIR=~/tmp
### applications
export PYTHONSTARTUP=~/.pythonrc
+## perl
+(( ${+commands[perl]} )) && eval $(perl -I $XDG_DATA_HOME/perl5/lib/perl5 -Mlocal::lib=$XDG_DATA_HOME/perl5)
### freebsd
if [[ "$OSTYPE" =~ "^freebsd" ]]; then
fi
### load site-specific
-if [[ -f ~/.zshenv.local ]]; then
+if [[ -e "~/.zshenv.local" ]] && [[ ! -v _ZSHENV_LOADED ]] {
+ export _ZSHENV_LOADED=
source ~/.zshenv.local
-fi
+}