From 24a931cbfc884e873d5f25068155b7c658f6e361 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 7 Jul 2025 23:38:09 +0200 Subject: [PATCH] shell/mv --- sh/main.sh | 3 --- sh/shell/0.sh | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sh/main.sh b/sh/main.sh index 470cf72..16ce907 100755 --- a/sh/main.sh +++ b/sh/main.sh @@ -26,9 +26,6 @@ RWX_SELF_NAME="rwx" # │ main │ variables │ # ╰──────┴───────────╯ -# currently running shell name -RWX_SHELL="$(cat "/proc/${$}/comm")" - # system root directory of the project RWX_ROOT_SYSTEM="/usr/local/lib/${RWX_SELF_NAME}" # user root directory of the project diff --git a/sh/shell/0.sh b/sh/shell/0.sh index 6a28c31..c52639b 100644 --- a/sh/shell/0.sh +++ b/sh/shell/0.sh @@ -2,6 +2,9 @@ # │ shell │ # ╰───────╯ +# currently running shell name +RWX_SHELL="$(cat "/proc/${$}/comm")" + _rwx_shell_color() { local code="${1}" case "${RWX_SHELL}" in