1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
# -*- mode: sh -*- # vim: ft=zsh : ${ZDOTDIR:=~/.config/zsh} xsource() { local i for i; do [ -r "$i" ] && source "$i" done } xzsource() { xsource "${@/#/$ZDOTDIR/}" } xzsource zshenv.pre fpath[1,0]=($ZDOTDIR/functions) xzsource zshenv.{local,post}