1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-21 16:58:00 +00:00

Add comments for pdebuglog

This commit is contained in:
Kaleb Elwert 2018-02-12 15:16:21 -08:00
parent 6ab2cc012e
commit 3524cc20f0

View File

@ -17,11 +17,12 @@ if ! autoload -Uz is-at-least || ! is-at-least "$min_zsh_version"; then
fi
unset min_zsh_version
# Change the resolution of the SECONDS variable to be more useful for debugging.
typeset -F SECONDS
# logging convenience, mostly meant for debugging performance issues.
function pdebuglog {
if ! zstyle -t ":prezto" debug; then
echo no debug
return
fi