Load zprof module if ZPROF env var a non-zero value

This commit is contained in:
2020-05-03 19:51:45 +01:00
parent a0b2e5d240
commit cb247a8a9e

5
zshenv
View File

@@ -2,6 +2,11 @@
# ZSH Environment Setup
#
# Enable ZSH profiling?
if [[ -n "$ZPROF" ]]; then
zmodload zsh/zprof;
fi
# Ensure values in path variable are unique
typeset -U path