updated README.md: included instructions on enabling 256 color terminal in Ubuntu/Debian
This commit is contained in:
parent
351979d3e0
commit
4ec92bf1a1
1 changed files with 26 additions and 0 deletions
26
README.md
26
README.md
|
@ -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!
|
||||
|
|
Loading…
Reference in a new issue