Created
September 20, 2014 16:21
-
-
Save rafacouto/248149f58ad0752452e3 to your computer and use it in GitHub Desktop.
Fix the TERM variable to allow 256 colors in a gnome-terminal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Fix the TERM variable to allow 256 colors in a gnome-terminal. Pretty full color in vim! | |
# Put this lines in your ~/.bashrc | |
if [ "$TERM" == "xterm" ] && [ "$COLORTERM" == "gnome-terminal" ]; then | |
export TERM=xterm-256color | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment