From fe9c357cd9b0e2f0509b553ef96ac7064a122379 Mon Sep 17 00:00:00 2001 From: accel Date: Tue, 11 Jan 2022 20:01:52 +0300 Subject: [PATCH] small logging fixes --- zconfig.funcs.zsh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zconfig.funcs.zsh b/zconfig.funcs.zsh index 31f06bd..d0ee3ec 100644 --- a/zconfig.funcs.zsh +++ b/zconfig.funcs.zsh @@ -23,15 +23,15 @@ function zconfigs_load() function zconfigs_local_load() { if [[ ! -a ${zconfig_local_path} ]]; then - zshlibs_log $0 "local config missing, recreating from '${zconfig_shared_path}/zshconfig.example'" + zshlibs_log zconfig "local config missing, recreating from '${zconfig_shared_path}/zshconfig.example'" mkdir -p -m 700 ${zconfig_local_path} cp ${zconfig_shared_path}/zshconfig.example ${zconfig_local_path}/local.config.zsh fi if [[ ! -d ${zconfig_local_path} ]]; then - zshlibs_log zconfigs "local config appears to be a file, loading '${zconfig_local_path}'" + zshlibs_log zconfig "local config appears to be a file, loading '${zconfig_local_path}'" zconfig_checkload ${zconfig_local_path} else - zshlibs_log zconfigs "local config is a directory, loading '${zconfig_local_path}/*.config.zsh'" + zshlibs_log zconfig "local config is a directory, loading '${zconfig_local_path}/*.config.zsh'" zconfigs_load ${zconfig_local_path}/*.config.zsh; fi }