Hacker News new | ask | show | jobs
by bloqs 743 days ago
How do you do this so that it lasts? I find mine resets to default
2 comments

I use iTerm2 and have different profiles for different directories/remote hosts. iTerm switches the background colour automatically for me. I'm sure other terminal emulators would have similar features.

https://bsago.me/tech-notes/change-ssh-background-colour-wit....

Can’t you set it in the .zshrc file?