[zsh] Don't time every custom script.
This commit is contained in:
parent
32c6c80622
commit
7eb8ac0772
|
@ -53,11 +53,11 @@ for script in functions options path env zplg plugins aliases completion zle pro
|
|||
done
|
||||
|
||||
if [[ -d "$ZSH_DOTFILES/custom" ]]; then
|
||||
_perf_timer_start "custom scripts"
|
||||
for script in $ZSH_DOTFILES/custom/*.zsh; do
|
||||
_perf_timer_start "custom/${script##*/}"
|
||||
source "$script"
|
||||
_perf_timer_stop "custom/${script##*/}"
|
||||
done
|
||||
_perf_timer_stop "custom scripts"
|
||||
fi
|
||||
|
||||
_perf_timer_stop "total"
|
||||
|
|
Loading…
Reference in New Issue