From 7eb8ac07728f2f026a09790466881e2bb147aaab Mon Sep 17 00:00:00 2001 From: Keanu Date: Fri, 14 May 2021 10:05:35 +0200 Subject: [PATCH] [zsh] Don't time every custom script. --- zsh/zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zsh/zshrc b/zsh/zshrc index 7850b78..55fa9c1 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -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"