diff --git a/sh/shell/0.sh b/sh/shell/0.sh index 33a7745..f93f312 100644 --- a/sh/shell/0.sh +++ b/sh/shell/0.sh @@ -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