tcsh 'ls_colors' not working

12.2k views Asked by At

I am using tcsh as my default shell. However, the LS_COLORS env doesn't seem to work. Here is my related env for ls:

setenv CLICOLOR "true"
setenv LS_COLORS "di=37:fi=00"

Directories are suposed to be coloured white, but the result is they are coloured blue/cyan. Any idea?

2

There are 2 answers

0
cfi On

This thread on the web might help on the syntax of LS_COLORS in general.

In your particular case it looks ok. Did you set color in your shell?

0
Aaron On

I was having the same problem. I am required to use tcsh and xterm. I also didn't have luck with setenv CLICOLOR.

try:

alias ls ls --color=always

source: ls man page