zsh/.zshrc

27 lines
597 B
Bash

# Profiling start
# zmodload zsh/zprof
for S in \
05-start \
15-options \
25-history \
41-zinit \
45-plugins \
55-agents \
65-scripts \
75-aliases \
85-completion \
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