Compare commits
No commits in common. "516548971358cbcc81e985ced33d0a8e831a2c86" and "234190544269539e995296cd1948f56539da5359" have entirely different histories.
5165489713
...
2341905442
2 changed files with 2 additions and 9 deletions
|
@ -115,7 +115,5 @@ Two interpreted languages for flexibility.
|
|||
* ffmpeg
|
||||
* tmux
|
||||
* get unresolved path for new panes & windows
|
||||
* fully working doc function algorithm
|
||||
* self install aliases
|
||||
|
||||
### 6.2 [Further tasks](#when) {#when-further}
|
||||
|
|
|
@ -21,23 +21,18 @@ RWX_SELF_COMMAND="_${RWX_SELF_NAME}_cmd_"
|
|||
# ╰──────┴───────────╯
|
||||
|
||||
RWX_COMMAND_ARGUMENT="${0}"
|
||||
# currently running shell name
|
||||
RWX_SHELL="$(cat "/proc/${$}/comm")"
|
||||
|
||||
# command name used to run
|
||||
RWX_COMMAND_NAME="$(basename "${RWX_COMMAND_ARGUMENT}" | sed "s|^-||")"
|
||||
RWX_COMMAND_NAME="$(basename "${RWX_COMMAND_ARGUMENT}" |
|
||||
sed "s|^-||")"
|
||||
case "${RWX_COMMAND_NAME}" in
|
||||
"bash" | "dash" | "sh") unset RWX_COMMAND_NAME ;;
|
||||
*) ;;
|
||||
esac
|
||||
# system root directory of the project
|
||||
RWX_ROOT_SYSTEM="/usr/local/lib/${RWX_SELF_NAME}"
|
||||
# user root directory of the project
|
||||
RWX_SELF_USER="${HOME}/${RWX_SELF_NAME}"
|
||||
|
||||
# path to the required parsing awk script
|
||||
RWX_AWK="${RWX_ROOT_SYSTEM}/${RWX_MAIN_NAME%.sh}.awk"
|
||||
# path to the entrypoint main file of the project
|
||||
RWX_MAIN_PATH="${RWX_ROOT_SYSTEM}/${RWX_MAIN_NAME}"
|
||||
|
||||
# ╭──────┬──────╮
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue