I have the default Ask before closing setting on my macOS terminal -- Only if there are processes other than the login shell and
But even if I open a new terminal window and close it, it asks "Do you want to terminate running processes in this window? Closing this window will terminate the running process -bash."
-bash to the "processes other than" gets rid of that dialog, but why the heck is there a
-bash process, hyphen and all? I configured shells open with to
/usr/local/bin/bash, I don't know why that would show as
-bash. But it shows up that way in
ps as well.
which -- -bash doesn't find anything. This seems janky.
This is happening for me on Big Sur, and I'm pretty sure it was happening on Catalina as well.