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} ]]
|
if ! [[ -d ${zshlibs_install} ]]
|
||||||
then
|
then
|
||||||
zlibs_install
|
zlibs_install
|
||||||
|
else
|
||||||
|
if zmodload -s zsh/sched
|
||||||
|
then
|
||||||
|
sched +0 zshlibs_update
|
||||||
else
|
else
|
||||||
zshlibs_update
|
zshlibs_update
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
source ${zshlibs_install}/tools.zsh
|
source ${zshlibs_install}/tools.zsh
|
||||||
source ${zshlibs_install}/zconfig.zsh
|
source ${zshlibs_install}/zconfig.zsh
|
||||||
|
Loading…
Reference in New Issue
Block a user