Syntax highlighting in Terminal Mac OS X

by wowpatrick   Last Updated October 12, 2018 23:01 PM

How can I highlight different parts in the Mac OS X Terminal app? For example a different color for input and output? Are the pre-defined color themes I can activate/download?



Answers 2


This answer explains how to configure the colors used by your Terminal profiles (e.g. a Futurama based color scheme) and how to enable color output for selected commands.

You can easily adapt this answer to make only your command input colored by applying what is explained in this post's section Colors instead of making text bold.

Daniel Beck
Daniel Beck
March 13, 2012 20:24 PM

A great way to get basic syntax highlighting on your console is to install fishfish. It offers basic syntax highlighting and much more.

Here is a screenshot of how it looks like:

enter image description here

wowpatrick
wowpatrick
June 13, 2012 23:08 PM

Related Questions


How to set syntax enable permanently in Vim

Updated June 24, 2017 23:01 PM



How to setup iTerm “Visor” option like TotalTerminal?

Updated September 09, 2017 13:01 PM

objective-c syntax highlighting for vim

Updated May 13, 2017 00:01 AM