Add to your .bash_profile to get Linux-like functionality for the exit command.