shell/mv
This commit is contained in:
parent
aec3d1a0af
commit
24a931cbfc
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -2,6 +2,9 @@
|
|||
# │ shell │
|
||||
# ╰───────╯
|
||||
|
||||
# currently running shell name
|
||||
RWX_SHELL="$(cat "/proc/${$}/comm")"
|
||||
|
||||
_rwx_shell_color() {
|
||||
local code="${1}"
|
||||
case "${RWX_SHELL}" in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue