diff --git a/sh/main.sh b/sh/main.sh index 09ed3b9..88cc728 100644 --- a/sh/main.sh +++ b/sh/main.sh @@ -3,18 +3,18 @@ # ╰───────────╯ RWX_MAIN_NAME="main.sh" -RWX_NAME="rwx" +RWX_SELF_NAME="rwx" # ╭───────────╮ # │ variables │ # ╰───────────╯ -RWX_ROOT_USER="${HOME}/${RWX_NAME}" +RWX_ROOT_USER="${HOME}/${RWX_SELF_NAME}" RWX_SHELL="$(cat "/proc/${$}/comm")" RWX_SYSTEM_ROOT="/usr/local/lib" RWX_MAIN_PATH="${RWX_ROOT_SYSTEM}/${RWX_MAIN_NAME}" -RWX_ROOT_SYSTEM="${RWX_SYSTEM_ROOT}/${RWX_NAME}" +RWX_ROOT_SYSTEM="${RWX_SYSTEM_ROOT}/${RWX_SELF_NAME}" # ╭────────╮ # │ public │ diff --git a/sh/shell.sh b/sh/shell.sh index e1a6ca8..e09fd01 100644 --- a/sh/shell.sh +++ b/sh/shell.sh @@ -125,7 +125,7 @@ rwx_shell_prompt() { rwx_shell_setup() { # shell - echo "export ENV=\"${ENV}\"" >"/etc/profile.d/${RWX_NAME}.sh" + echo "export ENV=\"${ENV}\"" >"/etc/profile.d/${RWX_SELF_NAME}.sh" # bash local file="/etc/bash.bashrc" rm --force --recursive "${file}"