8 comments

[ 208 ms ] story [ 462 ms ] thread
Awesome. I wonder if we can do the same thing in terminals(iterm/terminal) when we connected to prod hosts via SSH.
That's one of the reasons I made the switch to iterm: https://www.iterm2.com/documentation-automatic-profile-switc...

The actual automatic profile switching can be a bit of a pain because you need to install the integration on each machine you ssh into. But iterm also gives you access to a bunch of proprietary escape codes, so I was able to just wrap ssh in an alias that would automatically change my terminal colors and display the ssh command as a badge in the corner to keep my dumb ass from accidentally screwing up a server.

Ugh I need this in Firefox! For "Reasons" I don't use chrome for my different environments but this is super useful!