1
0
Fork 0

Disable profiler
continuous-integration/drone/push Build was killed Details

main
Ambrose Chua 2023-02-10 10:26:06 +08:00
parent 7d3ab2964b
commit 63a7d5ec78
1 changed files with 2 additions and 2 deletions

4
.zshrc
View File

@ -46,10 +46,10 @@ sup() {
prompt_run_count=0
on_second_prompt() {
if [[ "$prompt_run_count" == 1 ]] && [[ "$USER" != "root" ]]; then
zmodload zsh/zprof
#zmodload zsh/zprof
load_slower
load_slowest
zprof
#zprof
fi
(( prompt_run_count = prompt_run_count + 1 ))
}