CLI Magic: Colorize your prompt

6
Last week’s column on prompt mods resulted in reader comments showing colorized prompts and a request for a similar column dealing exclusively with colorizing. This is much easier to do than looking at the examples might suggest. It’s all a matter of shutting down your brain so that it doesn’t try to parse the command into human-readable text. But don’t be afraid about shutting down the brain. If you’re stuck in a GUI, that happened long ago. Now walk this way.

Link: Linux.com