Re: color 'ls' in frame buffer console
On Sun, Oct 15, 2000 at 03:20:05PM +0400, Rino Mardo wrote:
> On Sun, Oct 15, 2000 at 02:28:14AM -0800 or thereabouts, Ethan Benson wrote:
> > On Sun, Oct 15, 2000 at 12:33:49AM -0700, Jeremiah Hunter Savage wrote:
> > > How do I get 'ls' to display color like xterm in the console (no X)?
> > > i.e. directories=blue, executables=green, links=light blue,
> > > devices=yellow. I am using the frame buffer.
> >
> > add the following to your ~/.bashrc:
> >
> > eval `dircolors`
> > alias ls='ls --color=auto'
> >
> > --
> > Ethan Benson
> > http://www.alaska.net/~erbenson/
>
> it's already there in the stock ~/.bashrc install. just unremarked 'em.
>
>
You also have to include these lines in .bash_profile
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
Ville Harju (villeha@nic.fi)
Reply to: