Revert "[zsh] Remove all the shell-log calls because they are slow af"

This reverts commit 3536a9d9c2.
This commit is contained in:
Eryn Wells 2022-01-22 09:03:43 -08:00
parent 265e239fc8
commit 0894a4957e
14 changed files with 32 additions and 0 deletions

View file

@ -7,6 +7,7 @@ function init_zsh_functions
{
local myfpath="$HOME/.zsh/func"
shell-log "Loading functions in $myfpath"
for func in $myfpath/*; do
[[ ! -e "$func" || -d "$func" ]] && continue
@ -14,6 +15,7 @@ function init_zsh_functions
[[ "$functionName" =~ "prompt_*" ]] && continue
[[ "$functionName" =~ "init_*" ]] && continue
shell-log -l debug "Loading $functionName"
autoload +X $functionName
done