Hacker News new | ask | show | jobs
by joshaidan 3430 days ago
How do you go about colour coding your terminal?
1 comments

I assume he color coded the prompt. You can use ANSI color escape codes in there to e.g. color your hostname.

Here's a generator for Bash: http://bashrcgenerator.com/, the prompt's format string is stored in the $PS1 variable.