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?
How can I make bash use color coded output by default?
colors;bashrc;terminal emulator
It may be possible that your .profile does not load the .bashrc file.cat ~/.profileShould look somewhat similar to:# ~/.profile: executed by the command interpreter for login shells.# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login# exists.# see /usr/share/doc/bash/examples/startup-files for examples.# the files are located in the bash-doc package.# the default umask is set in /etc/profile; for setting the umask# for ssh logins, install and configure the libpam-umask package.#umask 022# if running bashif [ -n $BASH_VERSION ]; then    # include .bashrc if it exists    if [ -f $HOME/.bashrc ]; then    . $HOME/.bashrc    fifi# set PATH so it includes user's private bin if it existsif [ -d $HOME/bin ] ; then    PATH=$HOME/bin:$PATHfiBut there are many other places to check:Are you really running bash:ls -l $SHELLIf so, be sure to look into all of these, (if they exist):/etc/profile~/.bash_profile~/.bash_login~/.profileIf the output of ls -l ~/.bashrc contains root as owner/group:sudo chown $USER:$USER ~/.bashrcAlso, the intended user rights are 644 meaning:ls -l ~/.bashrcgives output of:-rw-r--r--If not, change it as follows:chmod 644 ~/.bashrc