diff --git a/zshrc b/zshrc index 6b74de3..6f97dda 100644 --- a/zshrc +++ b/zshrc @@ -7,7 +7,10 @@ # Global Order: zshenv, zprofile, zshrc, zlogin # -zmodload zsh/zprof +# Load zprof if we need to profile startup time +# at the bottom of ~/.zshrc add `zprof >! zsh_profile` to save +# profiling data at startup +# zmodload zsh/zprof # Determine zsh conf file position. On Debian/Ubuntu is /etc/zsh, on other should be /etc # [ -d /etc/zsh ] && BASE="/etc/zsh" || BASE="/etc"