BASH Text Coloring Settings for FreeBSD

By default FreeBSD (in my case, the most recent 6.2 version) installs sh as the standard shell. Many Linux users prefer BASH as their default shells instead. To change the default shell, run chsh and change the line Shell: /bin/sh to /usr/local/bin/bash.

Then in your user root directory, create a .bash_profile file and add the following lines to enable coloring:

if [ -f ~/.bashrc ]; then

        . ~/.bashrc

fi

export CLICOLOR=1

Now you should be to use the BASH shell as your default shell with text coloring.

Be Sociable, Share!

Leave a Reply