]> git.sev.monster Git - dotfiles.git/blame - etc/zsh/functions/Misc/load-site-dotfile
zsh: add load-site-dotfile to replace site source
[dotfiles.git] / etc / zsh / functions / Misc / load-site-dotfile
CommitLineData
4ced48ed 1# load site-specific dotfiles
2
3emulate -L zsh
4
5local x p
6typeset -aU p
7p=({${ZDOTDIR:-~},~}/{.,}${1#.}.local)
8for x ($p) {
9 [[ -f $x ]] && source $x
10}
This page took 0.040462 seconds and 4 git commands to generate.