diff --git a/sh/main.sh b/sh/main.sh index e91efbf..cf5f767 100644 --- a/sh/main.sh +++ b/sh/main.sh @@ -1,4 +1,6 @@ -# constants +# ╭───────────╮ +# │ constants │ +# ╰───────────╯ SH_MAIN_NAME="main.sh" SH_NAME="sh" @@ -7,12 +9,16 @@ SH_ROOT="/etc/${SH_NAME}" SH_MAIN="${SH_ROOT}/${SH_MAIN_NAME}" -# variables +# ╭───────────╮ +# │ variables │ +# ╰───────────╯ SH_SHELL="$(cat "/proc/${$}/comm")" SH_USER="${HOME}/${SH_NAME}" -# private +# ╭─────────╮ +# │ private │ +# ╰─────────╯ _sh_ifs_new() { SH_IFS="${IFS}" @@ -35,7 +41,9 @@ _sh_main_log() { fi } -# public +# ╭────────╮ +# │ public │ +# ╰────────╯ # find directory’s files by extension sh_find_extension() { @@ -109,7 +117,9 @@ sh_source_directory() { _sh_ifs_pop } -# main +# ╭──────╮ +# │ main │ +# ╰──────╯ # run initial steps sh_main() {