Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
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?
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:
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.
Required, but never shown
6 years, 10 months ago
3 months ago