main → shell

This commit is contained in:
Marc Beninca 2025-07-09 20:07:33 +02:00
parent a429cad22c
commit 84c26d2273
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 18 additions and 12 deletions

View file

@ -43,18 +43,6 @@ rwx_main_find() {
sort
}
# ╭──────┬───────╮
# │ main │ shell │
# ╰──────┴───────╯
# test if active shell is in interactive mode
rwx_main_interactive() {
case "${-}" in
*i*) ;;
*) return 1 ;;
esac
}
# ╭──────┬──────╮
# │ main │ main │
# ╰──────┴──────╯