Revert "[zsh] Remove all the shell-log calls because they are slow af"
This reverts commit 3536a9d9c2
.
This commit is contained in:
parent
265e239fc8
commit
0894a4957e
14 changed files with 32 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue