Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Somehow my colors in are completely borked. If I load up Vim with syntax on, there are no colors, but line numbers are underlined (and so are some other parts). It looks really really ugly. I can confirm that it's and not vim, because if I load up xterm it looks fine.

I have tried to restore defaults in preferences but it doesn't fix the problem.

share|improve this question
Maybe you could try trashing from ~/Library/Preferences. – slhck Jan 14 '12 at 16:11
Thanks for the tip, didn't work unfortunately. – Matthew Jan 14 '12 at 16:15
Make sure your $TERM environmental variable is correct. – Heptite Jan 14 '12 at 16:53
Thanks @Heptite. When I type $TERM it says: bash: xterm-256color: command not found – Matthew Jan 14 '12 at 17:46
Thank you so much @Heptite, changing the terminal to xterm-color in Preferences fixed my problem. – Matthew Jan 14 '12 at 17:48

Make sure your $TERM environmental variable is correct. You can check it by doing:

echo $TERM
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .