Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Aug 2008 22:14:53 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Robe <vcrobe@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Changing the default colors in the console
Message-ID:  <20080822221453.337f9f02.freebsd@edvax.de>
In-Reply-To: <221c791e0808221305t570240eegeb3d115a2df98c2@mail.gmail.com>
References:  <221c791e0808221305t570240eegeb3d115a2df98c2@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 22 Aug 2008 15:05:02 -0500, Robe <vcrobe@gmail.com> wrote:
> Hi there,
> 
> I'm trying to change the default color for the directories using the
> following command to see them with purple color
> 
> setenv LS_COLORS "di=01;35"
> 
> but when I use the following command
> 
> ls -G
> 
> I still see the default color.
> 
> What's wrong?

Try to put this into your /etc/csh.cshrc for global or ~/.cshrc for
local effect:

	setenv  LSCOLORS        ExGxdxdxCxDxDxBxBxegeg
	alias   ls              'ls -FG'
	alias   ll              'ls -laFG'

Read "man ls" for the colour description. Make sure your terminal
emulation supports color; xterm and cons25l1 do.



-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080822221453.337f9f02.freebsd>