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:
set t_Co=256
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.
:verbose set term?
" (with the question mark as part of the command) say?:set term=xterm-color
in Vim?