Customize iTerm2 with Color Schemes, Syntax Highlighting instead of the usual non transparent background, appealing text color etc. with scripts. Here is how to. If you are a Windows PC user, this guide to Customize iTerm2 is not for you. We have equivalent guide for Windows – Console2 Customization and UNIX Functions. You can basically apply the methods mentioned in this guide to Customize iTerm2 and the above linked guide for Ubuntu or any Linux Terminal.
Customize iTerm2 with Color Schemes, Syntax Highlighting : Basics
Basics is that, you will get a list of option if you right click / command click on the iTerm Session Window. You will get an “Edit Session…” named option. Click it to open this window :
You can change most of the settings by selecting the options from the tabs (indicated in screenshot by bounding red box) and choosing options (bounding green box as example). This is very basic method to Customize iTerm2 with Color Schemes, translucent window, blurring effect, blinking cursor etc.
Customize iTerm2 with Color Schemes, Syntax Highlighting : Advanced
First set xterm-256colorin Report Terminal Type property in iTerm2’s Terminal Tab. For unknown reason it worked in my one MacBook Pro but not on the other, so I found the solution too :
---
1 |
http://code.google.com/p/iterm2/issues/detail?id=1639 |
echo $TERM command will return xterm-256 if everything is fine. There are various ready made scripts available to customize iTerm2 :
1 |
https://github.com/mbadolato/iTerm2-Color-Schemes |
You will get a good list here :
1 |
http://code.google.com/p/iterm2/wiki/ColorGallery |
