opional zsh module sched used to update zshlibs
This commit is contained in:
parent
0e68037fdc
commit
5c1123867f
@ -11,9 +11,14 @@ autoload zshlibs_update
|
||||
if ! [[ -d ${zshlibs_install} ]]
|
||||
then
|
||||
zlibs_install
|
||||
else
|
||||
if zmodload -s zsh/sched
|
||||
then
|
||||
sched +0 zshlibs_update
|
||||
else
|
||||
zshlibs_update
|
||||
fi
|
||||
fi
|
||||
|
||||
source ${zshlibs_install}/tools.zsh
|
||||
source ${zshlibs_install}/zconfig.zsh
|
||||
|
Loading…
Reference in New Issue
Block a user