Hacker News new | ask | show | jobs
by mw6621 3677 days ago
You don't have to install anything to do color switching, AFAIK. There are configuration options that you can use to match based on regexp, so you tell it when it sees '^root@hostname' it needs to change the background color and you are done.
1 comments

It seems like you should be able to do that because it allows regex matching for other things, but to do profile switching, you must have shell integration installed.

https://iterm2.com/documentation-automatic-profile-switching...