opional zsh module sched used to update zshlibs

This commit is contained in:
Aleksey 2024-04-25 22:04:15 +04:00
parent 0e68037fdc
commit 5c1123867f
Signed by: tea
GPG Key ID: D9C68D34A3CAE37A

View File

@ -12,7 +12,12 @@ if ! [[ -d ${zshlibs_install} ]]
then
zlibs_install
else
zshlibs_update
if zmodload -s zsh/sched
then
sched +0 zshlibs_update
else
zshlibs_update
fi
fi
source ${zshlibs_install}/tools.zsh