zsh/.zshrc

31 lines
707 B
Bash
Raw Normal View History

# Profiling start
# zmodload zsh/zprof
for S in \
05-start \
15-env \
25-history \
35-options \
2021-12-06 21:48:22 +00:00
42-zcomet \
45-prompt \
2021-12-06 21:48:22 +00:00
48-plugins \
55-agents \
65-scripts \
75-aliases \
2021-12-06 21:48:22 +00:00
85-completion \
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
2021-04-19 08:32:04 +00:00
# To customize prompt, run `p10k configure` or edit ~/.config/zsh/.p10k.zsh.
2021-12-06 21:48:22 +00:00
[[ ! -f "${ZDOTDIR}/.p10k.zsh" ]] || source "${ZDOTDIR}/.p10k.zsh"
# zprof