X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/4ced48ed9172523adccbd9b8cc7c6d8448aaaf65..4fa653d992e741dd96b3c58a265b2fb71cd8b0b7:/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