rwx/shell

This commit is contained in:
Marc Beninca 2024-12-01 22:13:16 +01:00
parent 77a53428e1
commit 3b11f3b459
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -15,13 +15,10 @@ RWX_SELF_COMMAND="_${RWX_SELF_NAME}_cmd_"
RWX_ROOT_SYSTEM="/usr/local/lib/${RWX_SELF_NAME}"
RWX_SELF_USER="${HOME}/${RWX_SELF_NAME}"
RWX_SHELL="$(cat "/proc/${$}/comm")"
RWX_MAIN_PATH="${RWX_ROOT_SYSTEM}/${RWX_MAIN_NAME}"
rwx_shell() {
cat "/proc/${$}/comm"
}
# ╭──────╮
# │ core │
# ╰──────╯