I was recently trying to get
node.js up and running. One of the steps required that I add an export line to my
.bashrc file. Upon doing so, and rebooting the machine, the output of the bash terminal is no longer color-coded.
I have tried copying the default with
cp /etc/skel/.bashrc ~/.bashrc and then un-commenting the line
force_color_prompt=yes. But when I reboot the machine, the output is still black and white.
If I run
source .bashrc or
. .bashrc the output works as expected (it's color coded). But this is not the default behavior on login.
How can I set bash to use the color-coded output by default upon login?