Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

tcsh 'ls_colors' not working

Tags:

tcsh

ls-colors

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?

like image 740
Michael Avatar asked Sep 24 '12 10:09

Michael


2 Answers

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

like image 131
Erin Avatar answered Oct 16 '22 14:10

Erin


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?

like image 2
cfi Avatar answered Oct 16 '22 16:10

cfi