Skip to content

Instantly share code, notes, and snippets.

@rafacouto
Created September 20, 2014 16:21
Show Gist options
  • Save rafacouto/248149f58ad0752452e3 to your computer and use it in GitHub Desktop.
Save rafacouto/248149f58ad0752452e3 to your computer and use it in GitHub Desktop.
Fix the TERM variable to allow 256 colors in a gnome-terminal
# 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