rwx/shell
This commit is contained in:
parent
77a53428e1
commit
3b11f3b459
1 changed files with 1 additions and 4 deletions
|
@ -15,13 +15,10 @@ RWX_SELF_COMMAND="_${RWX_SELF_NAME}_cmd_"
|
||||||
|
|
||||||
RWX_ROOT_SYSTEM="/usr/local/lib/${RWX_SELF_NAME}"
|
RWX_ROOT_SYSTEM="/usr/local/lib/${RWX_SELF_NAME}"
|
||||||
RWX_SELF_USER="${HOME}/${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_MAIN_PATH="${RWX_ROOT_SYSTEM}/${RWX_MAIN_NAME}"
|
||||||
|
|
||||||
rwx_shell() {
|
|
||||||
cat "/proc/${$}/comm"
|
|
||||||
}
|
|
||||||
|
|
||||||
# ╭──────╮
|
# ╭──────╮
|
||||||
# │ core │
|
# │ core │
|
||||||
# ╰──────╯
|
# ╰──────╯
|
||||||
|
|
Loading…
Add table
Reference in a new issue