Posts Tagged ‘github’
I am in a tough spot. I am a technician, but I also am a design whore, so when I had to find a solution to one common problem (forgetting that your terminal tab is not on localhost), I couldn’t just solve the problem, but I had to find a good looking solution to that.
A #lazytweet only partially helped me, directing me to this useful post. I liked the approach, it was close, but not there.
I played with shell functions for a bit and came up with this:
The way it works is simple, it tells terminal to change it’s theme before ssh-ing and changes it back when ssh quits.
You might be wondering what Solarized Dark and Light are. It’s quite simple, they are two flavors of the best theme ever made.
If you’re still reading, a shameless plug: use my version of git-prompt for the best command prompt ever made