[macos] OSX - How to auto Close Terminal window after the "exit" command executed.

If this is a Mac you type 'exit' then press return.