parent
b1fc5bf235
commit
449958091b
1 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ RWX_COLOR_RED="$(_rwx_shell_color 32)"
|
|||
# ╰───────┴───────────╯
|
||||
|
||||
# current shell interactive mode
|
||||
rwx_shell_interactive=0
|
||||
rwx_shell_interactive=1
|
||||
|
||||
# ╭───────┬───────────╮
|
||||
# │ shell │ functions │
|
||||
|
@ -175,7 +175,7 @@ rwx_shell_exit() {
|
|||
rwx_shell_main() {
|
||||
# set current shell interactive mode
|
||||
case "${-}" in
|
||||
*"i"*) rwx_shell_interactive=1 ;;
|
||||
*"i"*) rwx_shell_interactive=0 ;;
|
||||
*) ;;
|
||||
esac
|
||||
# configure shell
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue