# shellcheck shell=bash # vim: ft=sh # 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\-]/}" if [[ -r "$ZDOTDIR/$S.pre.zsh" ]]; then source "$ZDOTDIR/$S.pre.zsh"; fi if [[ -r "$ZDOTDIR/$S.zsh" ]]; then source "$ZDOTDIR/$S.zsh"; fi if [[ -r "$ZDOTDIR/$S.user.zsh" ]]; then source "$ZDOTDIR/$S.user.zsh"; fi if [[ -r "$ZDOTDIR/$N.user.zsh" ]]; then source "$ZDOTDIR/$N.user.zsh"; fi if [[ -r "$ZDOTDIR/$S.post.zsh" ]]; then source "$ZDOTDIR/$S.post.zsh"; fi done # zprof