I am now working on 2 machines, one is a Ubuntu 12.04 and another one is MBP. By comparison, the stock Terminal.app of Mac is too boring and hard to read (Though I’m not saying the Ubuntu’s one is good enough). Since I like the Soda theme I set in Sublime Text in both machines, and I prefer a dark background for the terminal, so I change it to make my dev learning happier and funnier.
So here’s how.
First go to this page to download the Solarized theme file. In my case I choose the Dark one.
Second, open the terminal app and find in menu Preferences… >> Setting. In the bottom left under ‘Profiles’, find the cog icon and select ‘Import…’ to import the theme file you just download.
After Importing the file, you will have the Solarized theme in ‘Profile’, select it and make it Default (by clicking ‘Default’ besides the cog icon).
Finally, place the following command into your ~/.bash_profile to bring out the ansi color. Otherwise you’ll just have the three colors showed on the right of the ‘Text’ options in the above window.
export PS1="\[33[36m\]\u\[33[m\]@\[33[32m\]\h:\[33[33;1m\]\w\[33[m\]\$ " export CLICOLOR=1 export LSCOLORS=ExFxBxDxCxegedabagacad alias ls='ls -GFh'
Save it then you’ll have the Solarized color terminal for your dev.