Support OSX Terminal.app as well as iTerm2
Refresh colors when creating a new session