Jun 20 2017

Add color to vi and bash!
1  3K+ {{}}
In your ~/.bashrc file, you will find a line that says

# force_color_prompt=yes

simply remove the '#' at the beginning of the line for a colorful shell prompt.

As for the vi/vim editor, enter the following into your shell prompt:

$ echo "syntax on" >> ~/.vimrc

You can also try some of vim's colorschemes. Here's my favorite:

$ echo "colorscheme delek" >> ~/.vimrc

newbyw    Nov 12 2017

Please Login or Sign Up to leave a reply.