This commit is contained in:
Marc Beninca 2025-07-07 23:38:09 +02:00
parent aec3d1a0af
commit 24a931cbfc
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -2,6 +2,9 @@
# │ shell │
# ╰───────╯
# currently running shell name
RWX_SHELL="$(cat "/proc/${$}/comm")"
_rwx_shell_color() {
local code="${1}"
case "${RWX_SHELL}" in