login community faq

Hi all,

I've tried modifying the .bashrc in my home folder to give me different colors for 'ls', but without any luck. Here's the basic thing that I'd usually do:

export CLICOLOR=1
export LSCOLORS=DxGxcxdxCxegedabagacad

But nothing changed... ideas?

Thanks!

asked Nov 24 '10 at 18:12

wulftone's gravatar image

wulftone
124

I found the file for CentOS, /etc/DIR_COLORS, but it's read_only, of course. Is there a way to change it for only me?

(Nov 24 '10 at 18:18) wulftone wulftone's gravatar image

Copy /etc/DIR_COLORS to your home directory as ~/.dir_colors:

cp /etc/DIR_COLORS ~/.dir_colors

You can then edit ~/.dir_colors to get the colors you want. You'll need to log out and log back in after each change.

Hope that helps!

answered Nov 24 '10 at 18:36

seanf's gravatar image

seanf ♦♦
38951217

Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×3
×1
×1

Asked: Nov 24 '10 at 18:12

Seen: 431 times

Last updated: Nov 24 '10 at 18:36

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited