That's what I have in my .bashrc
if [ -n "$DISPLAY" -a "$TERM" == "xterm" ]; then export TERM=xterm-256color fi
In my .vimrc I have:
echo $TERM prints xterm-256color
tput colors prints 256
I've also runned a script called 256colors2.pl and all colors are printed correctly. Still what I see in my terminal is this (that's the "desert" theme):
Also the colortest.vim file does not display properly:
Apparently it only shows the default color palette of my terminal.