main/shell
This commit is contained in:
parent
2ad74cc9f7
commit
3fbeb42835
1 changed files with 12 additions and 12 deletions
24
sh/main.sh
24
sh/main.sh
|
@ -31,18 +31,6 @@ RWX_SELF_USER="${HOME}/${RWX_SELF_NAME}"
|
|||
|
||||
RWX_MAIN_PATH="${RWX_ROOT_SYSTEM}/${RWX_MAIN_NAME}"
|
||||
|
||||
# ╭──────┬───────╮
|
||||
# │ main │ shell │
|
||||
# ╰──────┴───────╯
|
||||
|
||||
# test if active shell is in interactive mode
|
||||
rwx_shell_interactive() {
|
||||
case "${-}" in
|
||||
*i*) ;;
|
||||
*) return 1 ;;
|
||||
esac
|
||||
}
|
||||
|
||||
# ╭──────┬──────╮
|
||||
# │ main │ find │
|
||||
# ╰──────┴──────╯
|
||||
|
@ -87,6 +75,18 @@ rwx_ifs_unset() {
|
|||
unset RWX_IFS
|
||||
}
|
||||
|
||||
# ╭──────┬───────╮
|
||||
# │ main │ shell │
|
||||
# ╰──────┴───────╯
|
||||
|
||||
# test if active shell is in interactive mode
|
||||
rwx_shell_interactive() {
|
||||
case "${-}" in
|
||||
*i*) ;;
|
||||
*) return 1 ;;
|
||||
esac
|
||||
}
|
||||
|
||||
# ╭──────┬─────╮
|
||||
# │ main │ log │
|
||||
# ╰──────┴─────╯
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue