Add colors to your terminal commands
There’s cool package in iTerm - tput
. It allows to add colors and styles to your terminal commands you use everyday.
Create function in ~/.bashrc
or similar:
echo_red() {
tput setaf 1;
echo $1;
tput setaf sgr0; # reset to default
}
Then call it in terminal, and see results: