From 5bca73a6e9ee400a74cdc4d9b13d2187c8eba7f1 Mon Sep 17 00:00:00 2001 From: Aleksey Date: Thu, 25 Apr 2024 22:16:33 +0400 Subject: [PATCH] add som logging in zbootstrap --- zbootstrap.zsh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zbootstrap.zsh b/zbootstrap.zsh index 6c596d3..96e610f 100644 --- a/zbootstrap.zsh +++ b/zbootstrap.zsh @@ -7,15 +7,18 @@ then typeset -g zshlibs_install="${HOME}/.local/zshlibs" fi fpath+=(${zshlibs_install}/tools) -autoload zshlibs_update +autoload zshlibs_update zshlibs_log if ! [[ -d ${zshlibs_install} ]] then zlibs_install else + zshlibs_log "zbootstrap" "preparing update" if zmodload -s zsh/sched then + zshlibs_log "zbootstrap" "updating using sched" sched +0 zshlibs_update else + zshlibs_log "zbootstrap" "sched not available, updating synchroniously" zshlibs_update fi fi