Define local/remote terminal profiles for emacs