osx settings to work with emacs/ terminal and tmux