Added better Mac support. Turned on bash show-mode-in-prompt.