Posts Tagged ‘terminal’
Change your terminal theme when you ssh into a server
Posted by Giovanni Intini | Filed under Apple, Mac, Productivity, Programming, Random Stuff
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
GiovanniStyle, high readability for your Terminal.app
Posted by Giovanni Intini | Filed under Random Stuff
Soon after Leopard came out I read an article on Slashdot about color contrast. There was a comment that struck me that explained how there were two types of contrast and that you had to maximize both the achieve maximum readabilty. That comment suggested light yellow on dark blue as the best color scheme for terminals.
I made some experimentations with Terminal.app and was pleasantly surprised the commenter was right. I added Consolas to the mix to get the best possible Terminal experience.
After a while my friends and coworkers started to notice my terminal and kept asking me for my .terminal file. Soon after that even customers started asking for it, so I did what the cool guys do and put it on GitHub.
You can find it here: http://github.com/intinig/giovanni_style/tree/master
Let me know what you think
Update: here’s a screenshot of the default style and GiovanniStyle side by side. It doesn’t do it any justice, so please try it and remember you have to have Consolas installed.
