From 5c1123867fdd32ec7aaf77ac22b65c7d8bd8e464 Mon Sep 17 00:00:00 2001 From: Aleksey Date: Thu, 25 Apr 2024 22:04:15 +0400 Subject: [PATCH] opional zsh module sched used to update zshlibs --- zbootstrap.zsh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/zbootstrap.zsh b/zbootstrap.zsh index af91820..6c596d3 100644 --- a/zbootstrap.zsh +++ b/zbootstrap.zsh @@ -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