mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-10-07 03:09:08 +00:00
Add comments for pdebuglog
This commit is contained in:
3
init.zsh
3
init.zsh
@@ -17,11 +17,12 @@ if ! autoload -Uz is-at-least || ! is-at-least "$min_zsh_version"; then
|
|||||||
fi
|
fi
|
||||||
unset min_zsh_version
|
unset min_zsh_version
|
||||||
|
|
||||||
|
# Change the resolution of the SECONDS variable to be more useful for debugging.
|
||||||
typeset -F SECONDS
|
typeset -F SECONDS
|
||||||
|
|
||||||
|
# logging convenience, mostly meant for debugging performance issues.
|
||||||
function pdebuglog {
|
function pdebuglog {
|
||||||
if ! zstyle -t ":prezto" debug; then
|
if ! zstyle -t ":prezto" debug; then
|
||||||
echo no debug
|
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user