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