On Wed, 13 Aug 2008 10:56:35 +0200
ropers <[EMAIL PROTECTED]> wrote:

> 2008/8/13 T. Ribbrock <[EMAIL PROTECTED]>:
> > On Wed, Aug 13, 2008 at 07:26:52AM +0200, ropers wrote:
> > [...]
> >> Is there a way to have a colour ls and still be able to page through it?
> >
> > With gls (which I use), there is. Example:
> 
> Ah! gls = gnuls I suppose. I see there's a 4.3 package for gnuls.
> 
> > gls -lF --color=always|less -r
> >
> > Suitable aliases should do the rest, I suppose. You'll have to use less
> > with '-r', otherwise the colour control codes are not interpreted. This
> > can have some downsides - see "man less".
> 
> Smashing! I'll look into that.
> 
> Thanks a bunch! :)
> --ropers
> 

how about:

export TERM=cons25
alias ls='colorls -FG'

Sorry i confused freebsd console (cons25) with obsd console (vt220), but with 
cons25
and colorls the console looks pretty.. ;) 

Regards,

-Etienne

Reply via email to