Snow Leopard Terminal Colors
Update: Running through this process for a fresh install of Mountain Lion, and I'm finding this guide very useful. Keep it colourful!
Note: For those of us using Lion, I would recommend getting TotalTerminal, which seems to be a great replacement for the techniques used in this article. If you are getting an annoying error about your old TerminalColor plugin not being compatible, just head over to the SIMBL Project website, download the latest version, and then use the packaged uninstalled.
Step 1. Install SIMBL
Head over to culater.net and install the latest version of SIMBL, a nice little program that allows users to hack and patch their existing applications with "bundles." For my latest install, I used SIMBL-0.9.7a.zip. The latest version that is now capable of working with 64-bit applications (although it now requires 64-bit bundles).
Once SIMBL has been installed, you need to make the directory that will store all your bundles. The path to this directory should be:
All your bundle files will be placed in here.
Step 2. Install the Visor Bundle
Install Visor. If you don't know what it is, just install it anyway. Your productivity will dramatically increase. It's an SIMBL bundle for terminal that adds a system wide trigger key (default is apple + backtick) to show and hide terminal.
Step 3. Install the TerminalColors-SL Bundle
Get the fixed TerminalColours-SL bundle that will allow you to use color themes within terminal. This bundle should be dropped into your SIMBL plugins folder (same place as Visor).
Step 4. Install the IR_Blank.terminal Theme
Download the amazing IR_Blank.terminal theme. Just double click to install it.
Step 5. Add and Source Your .bash_profile
Within your root folder (cd ~/) create a file named .bash_profile (unless you already have another bash file). Inside this we can place some basic settings that will affect our terminal. One of these settings is required to get our new colorized theme working. The code for this is:
Once you've added this line you'll need to quit terminal and reopen it. This should be everything you need to see color, and you should be seeing blue directory names when doing simple "ls" commands.
Enjoy a the colourful world of programming.
Step 7. Optional, For GIT Users
Head over to this RailsTips article and drop in the provided code for some nice branch aware terminal goodness. If you're using the latest version of GIT, check the comments which explain how to get things working with 1.6 (small syntax change).