diff --git a/sh/main.sh b/sh/main.sh index a4ef43b..8081179 100644 --- a/sh/main.sh +++ b/sh/main.sh @@ -1,4 +1,11 @@ -[ -n "${ENV}" ] || export ENV="/etc/sh/main.sh" +SH_NAME="sh" + +SH_ROOT="/etc/${SH_NAME}" +SH_USER="${HOME}/${SH_NAME}" + +SH_MAIN="${SH_ROOT}/main.sh" + +[ -n "${ENV}" ] || export ENV="${SH_MAIN}" main_commands() { local file="${1}" @@ -57,4 +64,4 @@ main_source_file() { main_source_file "${ENV}" -main_source_directory "${HOME}/sh" +main_source_directory "${SH_USER}"