Use emacsclient if server is running, emacs if not
oh-my-zsh's osx takes care of resume in terminal