I have recently switched over to iTerm2 and love it. I am wondering though if there is a way to use profiles to correspond to what environment/specific machine you are on.
For Fishell user: 1. Create a fish function:
functions it2prof > ~/.config/fish/functions/it2prof.fish
~/.config/fish/functions/it2prof.fish
function it2prof echo -e "\033]50;SetProfile=$argv\a" end
it2prof whatever_profile_you_define