24 lines
517 B
Bash
24 lines
517 B
Bash
for S in \
|
|
05-start \
|
|
15-env \
|
|
25-history \
|
|
35-options \
|
|
45-prompt \
|
|
55-agents \
|
|
65-scripts \
|
|
75-aliases \
|
|
82-plugins \
|
|
85-compinit \
|
|
88-ohmyzsh \
|
|
95-finish
|
|
do
|
|
N="${S//[0-9\-]/}"
|
|
[ -e "$ZDOTDIR/$S.pre.zsh" ] && source "$ZDOTDIR/$S.pre.zsh"
|
|
[ -e "$ZDOTDIR/$S.zsh" ] && source "$ZDOTDIR/$S.zsh"
|
|
[ -e "$ZDOTDIR/$S.user.zsh" ] && source "$ZDOTDIR/$S.user.zsh"
|
|
[ -e "$ZDOTDIR/$N.user.zsh" ] && source "$ZDOTDIR/$N.user.zsh"
|
|
[ -e "$ZDOTDIR/$S.post.zsh" ] && source "$ZDOTDIR/$S.post.zsh"
|
|
done
|
|
|
|
true
|