I have the latest OS X running the standard terminal app, with bash 4.0 via homebrew
However, if I run a script that contains an exit command, it's expected it would exit the script. Instead the session ends and my tab vanishes.
I've changed my settings to keep the tab open, but my session still ends, and as I understand this, it's non-standard behaviour.
What can cause this to happen?
As a sidenote, here is my bash prompt etc
. script
orsource script
?. script