mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[zsh] Don't time every custom script.
This commit is contained in:
parent
32c6c80622
commit
7eb8ac0772
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue