1
0
Fork 0
mirror of synced 2024-11-22 16:55:34 -05:00

updated README.md: included instructions on enabling 256 color terminal in Ubuntu/Debian

This commit is contained in:
Kevin Centeno 2013-09-04 18:05:00 +02:00
parent 351979d3e0
commit 4ec92bf1a1

View file

@ -31,6 +31,32 @@ The awesome version includes a lot of great plugins, configurations and color sc
Use [msysgit](http://msysgit.github.com/) to checkout the repository and run the installation instructions above. No special instructions needed ;-)
## How to enable 256 color mode in Ubuntu/Debian terminal?
By default, Ubuntu/Debian terminals are set to 8 to 16 colors. This makes vim ugly! To see what color mode you're in, type:
tput colors
If you get 256, you're good to go. Otherwise, type the following:
sudo apt-get install ncurses-term
vim ~/.bashrc
At the bottom of the file, put:
export TERM=xterm-256color
Save and close the file. Then force Bash to reload the config file:
source ~/.bashrc
Now check if everything is all good:
tput colors
SOURCE: @josh_earl [tumblr](http://whiletruecode.tumblr.com/post/13358288098/enabling-256-color-mode-in-ubuntus-bash-terminal)
## How to update to latest version?
Simply just do a git rebase!