From d691f67581762842bc8a5ad5f62d5f4797e09d92 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 20 Nov 2024 15:48:10 +0100 Subject: [PATCH] main/output --- sh/main.sh | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/sh/main.sh b/sh/main.sh index fa0c556..68bc516 100644 --- a/sh/main.sh +++ b/sh/main.sh @@ -28,12 +28,12 @@ main_source_directory() { IFS=" " count=0 - echo - echo ". ${path}" + #echo + #echo ". ${path}" for module in ${modules}; do count=$((count + 1)) - printf "%02d" "${count}" - echo " ${module%.sh}" + #printf "%02d" "${count}" + #echo " ${module%.sh}" module="${path}/${module}" if [ "${module}" != "${ENV}" ]; then . "${module}" @@ -47,7 +47,7 @@ main_source_directory() { done IFS="${ifs}" else - echo "Not a directory: ${path}" + #echo "Not a directory: ${path}" return 1 fi } @@ -57,7 +57,7 @@ main_source_file() { if [ -f "${path}" ]; then main_source_directory "$(dirname "${path}")" else - echo "Not a file: ${path}" + #echo "Not a file: ${path}" return 1 fi } @@ -66,7 +66,7 @@ main_source_file "${ENV}" main_source_directory "${SH_USER}" -sh_log "" \ - "sh_… = shell functions" \ - "a__… = aliases" \ - "u__… = user" +#sh_log "" \ +# "sh_… = shell functions" \ +# "a__… = aliases" \ +# "u__… = user"