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 }