Low Christopher - clow wrote:
Arrghhh this is driving me mad.
I'm sure its something trivial but how does one switch ls colors off?

I've got:

Colors=none in /etc/DIR_COLORS

$LS_COLORS=''

But it still uses colors....

Somewhere in your .bashrc file or .bash_profile will be the line alias ls='ls --color=auto' or something like that.

Comment this out and re-source your bashrc i.e. source ~/.bashrc
and colours will not be set.

BTW ls --colors=no

will not use colors at all.

woman ls :-)

Mike
--
Mike Lake
Caver, Linux enthusiast and interested in anything technical.

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to