I've been battling it out with this 256-colour terminal malarkey and I just can't get decent colour displays in a terminal. I'm using ubuntu-server with openssh and zsh. I have tried accessing the machine from both Windows (Putty) and RHEL (gnome-terminal) and neither of them display the colours properly.
I double checked that...
- $TERM is set to xterm-256color
- There exists a file in /lib/terminfo/x/xterm-256color
Whenever I use a vim or oh-my-zsh theme, the colours are all ANSI based. What am I missing?
EDIT: Oh I should also say that when i do
Then it displays using 256 colours. Neither the prompt nor vim displays the colours I expect.