diff --git a/sh/main.sh b/sh/main.sh index 725995e..d1ea522 100755 --- a/sh/main.sh +++ b/sh/main.sh @@ -63,17 +63,23 @@ rwx_cache() { local root="${1}" local module="${2}" local name="${module%.sh}" + local fill="$(rwx_fill "${#name}" ─)" local path="${root}/${module}" local text="$(cat "${path}")" case "${text}" in - "#!"*) RWX_CODE="${text}" ;; + "#!"*) + RWX_CODE="${text} + +# ╭───┬────┬─${fill}─╮ +# │ ↖ │ sh │ ${name} │ +# ╰───┴────┴─${fill}─╯" + ;; *) - local fill="$(rwx_fill "${#name}" ─)" RWX_CODE="${RWX_CODE} -# ╭───┬─${fill}─┬────╮ -# │ ↙ │ ${name} │ sh │ -# ╰───┴─${fill}─┴────╯ +# ╭───┬────┬─${fill}─╮ +# │ ↙ │ sh │ ${name} │ +# ╰───┴────┴─${fill}─╯ ${text}" ;;