Support Automatic Profile Switching with Integrated Tmux windows
I love the idea of the Automatic Profile Switching, and it's working great so far. I set one up for each server I connect to, with different backgrounds and some extra customizations.
However, when I connect to another server (ssh -A john@coop-dev-01), and then run my itmux command (alias itmux='tmux -CC new-session -A -s johnsession'), iterm uses the "tmux" profile.
Which is fine, except that now that I can have more than one integrated tmux session (one for each server, perhaps) simultaneously, I'd really love to have a different profile per server/tmux session combination.
If I could define multiple profiles for the tmux windows (or maybe mark profiles as 'tmux' or something? I haven't looked at the code to see how this works yet), that would work. Or whatever you can do :)
Let me know if I can clarify or help.