From 0ed8b2486c84050d3a43024b3b3ca5a2751204e1 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Thu, 21 Nov 2024 11:25:40 +0100 Subject: [PATCH] _sh_main --- sh/main.sh | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/sh/main.sh b/sh/main.sh index d2fafb8..9a86ebe 100644 --- a/sh/main.sh +++ b/sh/main.sh @@ -74,11 +74,13 @@ main_source_file() { fi } -main_source_file "${ENV}" +_sh_main() { + main_source_file "${ENV}" + main_source_directory "${SH_USER}" + _sh_main_log "" \ + "sh_… = shell functions" \ + "a__… = aliases" \ + "u__… = user" +} -main_source_directory "${SH_USER}" - -_sh_main_log "" \ - "sh_… = shell functions" \ - "a__… = aliases" \ - "u__… = user" +_sh_main