I've tried everything from this duplicate question but I still can't get it to work. The only difference from that question is that when I run env | grep TERM
I get TERM=xterm
instead of TERM=xterm-color
. I dont think it matters though, they seem to be pretty interchangeable.
What I don't understand however is that the only thing that has disappeared is the colors in the actual prompt. For example, if I run nano
and it detects the syntax of the file, for example if it's a script, I get colors. Also when I run the env
command mentioned earlier, the actual TERM
text is red.
So the colors are obviously working, it's just that I don't get colored folders, executable files and so on anymore. I think it also might have occured in connection to installing Ruby/RVM. I've tried replacing .bashrc
. (edit However, when creating a new user, that user has working colors)
I suppose this has a pretty simple solution but I'm just so sick of googling this now that I'd really appreciate som info on how the coloring settings works in the terminal and how this could happen. Thanks!