X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/4ced48ed9172523adccbd9b8cc7c6d8448aaaf65..ec9f2140efb69f3f9e95b8b2fa3681e3ff07e38b:/etc/zsh/functions/Misc/load-site-dotfile diff --git a/etc/zsh/functions/Misc/load-site-dotfile b/etc/zsh/functions/Misc/load-site-dotfile index 275912d..32fc695 100644 --- a/etc/zsh/functions/Misc/load-site-dotfile +++ b/etc/zsh/functions/Misc/load-site-dotfile @@ -4,7 +4,5 @@ emulate -L zsh local x p typeset -aU p -p=({${ZDOTDIR:-~},~}/{.,}${1#.}.local) -for x ($p) { - [[ -f $x ]] && source $x -} +p=({${ZDOTDIR:-~},{${_sev_home:-~},~}{/.zsh,}}/{.,}${1#.}.local(.N)) +for x ($p) source $x