2 tags edited + code in text
source | link

I was recently tyringtrying to get node.jsnode.js up and running. One of the steps required that I add an export line to my .bashrc.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?

I was recently tyring 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?

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?

    Post Migrated Here from serverfault.com
1
source | link

How can I make bash use color coded output by default?

I was recently tyring 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?