diff --git a/runcoms/zshrc b/runcoms/zshrc index 678fc42..96e8e5e 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -2,6 +2,8 @@ # Executes commands at the start of an interactive session. # +[ -z "$ZPROF" ] || zmodload zsh/zprof + # Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. # Initialization code that may require console input (password prompts, [y/n] # confirmations, etc.) must go above this block; everything else may go below. @@ -132,3 +134,5 @@ source ~/.orbstack/shell/init.zsh 2>/dev/null || : # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh + +[ -z "$ZPROF" ] || zprof