From a912b4a00a95f6f601d4a31534286cf22a548108 Mon Sep 17 00:00:00 2001 From: accel Date: Tue, 11 Jan 2022 20:41:35 +0300 Subject: [PATCH] add global to boot --- global.funcs.zsh | 7 +++++++ tools.funcs.zsh | 1 + 2 files changed, 8 insertions(+) diff --git a/global.funcs.zsh b/global.funcs.zsh index 807e07b..adf3d98 100644 --- a/global.funcs.zsh +++ b/global.funcs.zsh @@ -40,6 +40,7 @@ function global_set_useropts() function global_configure() { + typeset -a -g path_extra } function global_config_setup() @@ -51,6 +52,12 @@ function global_config_setup() zshlibs_log global "done loading noninteractive config" } +function global_boot() +{ + global_configure + global_config_setup +} + ## normal functions diff --git a/tools.funcs.zsh b/tools.funcs.zsh index 343f6ba..c3f0014 100644 --- a/tools.funcs.zsh +++ b/tools.funcs.zsh @@ -98,6 +98,7 @@ function zshlibs_start() zshlibs_boot zshlibs_update zconfig_boot + global_boot zssh_boot zshlibs_log zbootstrap "zshlibs booted up ==========================================="