28 lines
615 B
Bash
28 lines
615 B
Bash
# Profiling start
|
|
# zmodload zsh/zprof
|
|
|
|
for S in \
|
|
05-start \
|
|
15-options \
|
|
25-history \
|
|
42-zinit \
|
|
45-plugins \
|
|
55-agents \
|
|
65-scripts \
|
|
75-aliases \
|
|
82-completion \
|
|
85-keybindings \
|
|
88-prompt \
|
|
95-finish
|
|
do
|
|
N="${S//[0-9\-]/}"
|
|
[ -r "$ZDOTDIR/$S.pre.zsh" ] && source "$ZDOTDIR/$S.pre.zsh" || true
|
|
[ -r "$ZDOTDIR/$S.zsh" ] && source "$ZDOTDIR/$S.zsh" || true
|
|
[ -r "$ZDOTDIR/$S.user.zsh" ] && source "$ZDOTDIR/$S.user.zsh" || true
|
|
[ -r "$ZDOTDIR/$N.user.zsh" ] && source "$ZDOTDIR/$N.user.zsh" || true
|
|
[ -r "$ZDOTDIR/$S.post.zsh" ] && source "$ZDOTDIR/$S.post.zsh" || true
|
|
done
|
|
|
|
# zprof
|
|
|