I created a custom fortune file for my favourite tweets in the format tweet and then the @username in a new line. An Example is:
"You've changed."
"Yeah I know, I'm a Transformer."@LetsQuoteComedy
I want to display the tweet in a different color, say white, and the @username in another color, like black. How can I do this in the terminal?
Also, I would like to put that in my .bashrc
file.
Best Answer
Source: coloring command output
The code:
Just copy paste that into your
.bashrc
file.EDIT
The result: