opional zsh module sched used to update zshlibs
This commit is contained in:
parent
0e68037fdc
commit
5c1123867f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user