I would like to know what is the method to do syntax highlighting in terminal. I am trying to avoid my mouse to become more of a keyboard junkie so I am working more on Terminal and trying to learn vim. When I decide to look back at some previous commands on terminal, its tough to read. So I was hoping that a syntax highlighting will differentiate the line I enter to that from the machine. I did see a previous post at Can I make my Mac OS X Terminal color items according to syntax, like the Ubuntu terminal?. But as it was asked in 2011, I am hoping the process has got easier.