A black OS X Leopard Terminal theme that is actually readable
OS X Leopard was released with an updated Terminal application, which now has tabs, window groups, and many other new features. My excitement to replace the often slow iTerm was quickly extinguished as I realized that the new Terminal.app has some glaring problems:
- The first is the inability to set the title of the tab as you do in iTerm, gnome-terminal, etc. That one I can live with, as there are work-arounds.
- The other major problem is the horrible black themes that come with it (bad and worse). Apple is one of those companies who pay very close attention to visual details such as these, so it's surprising that they gave us such horrible choices.
So I decided to make a new theme, based on a subset of my popular TextMate theme IR_Black. The problem is the new Terminal app provides no way to set the ANSI colors; even though you can create your own themes (Settings), you can't change the colors. Ciarán Walsh provides a great solution to this on his blog, which uses the also great SIMBL.
- For Lion: see this article
- For Leopard: Install SIMBL and TerminalColors following the instructions on Ciarán Walsh's blog. This is required for the color changes in my theme to work.
- For Snow Leopard: Ciarán Walsh's TerminalColors doesn't work on Snow Leopard. Evan Phoenix fixed that in this github repo: http://github.com/evanphx/terminalcolours. Just use this file in place of Ciarán's: TerminalColours-SL.tar.gz.
- Download the theme file here.
- Double click the IR_Black.terminal file, you downloaded, to install it.
- Set it to be the default (if you want to always use these settings).
The following script will display the 16 colors in the terminal:
To install script:
- Copy the script to your workstation, name it colors
- Make it executable: chmod +x colors
- Run it: ./colors
If there is an easier way to change the ANSI colors in Terminal, please let me know. Although I have had no problems with SIMBL, it's always better, if possible, not to use hacks.
Note: the color scheme I use for Vim in the screenshot above can be found here.