Am Fri, 20 Aug 2010 02:48:34 +0200
schrieb Phillip Thelen <viiru...@yahoo.de>:

>  Have you tried adding this to your .bashrc?
> 
> alias ls='ls --color=auto'
> 
> basically just tells bash to execute "ls --color=auto" instead of
> just ls.

Drop the "=auto" and you'll get colorized listings with less, too.

ls --color=auto | less  =>  usual b/w output
ls --color | less  =>  colorized output

Heiko

Reply via email to