[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Activating ls colors by default



On Sat, May 01, 2004 at 11:28:44AM +0200, Markus Lindstr?m wrote:
> I'm trying to find a way to make bash use ls colors by default, on
> all virtual consoles. It seems my ~/.bashrc has this activated, but
> it only uses it on any virtual terminal I create in X.
> 
> I searched around the disk a bit, and found /etc/bash.bashrc and
> edited it with the relevant parts of my ~/.bashrc, hoping it would
> fix the problem, but ls colors still don't show up by default.
> 
> What more do I have to do? Typing ls --color=auto each time gets a
> bit tedious after a while ;-).

`alias ls="ls --color=auto"` goes in your .bashrc

Attachment: pgppR4PGb04vD.pgp
Description: PGP signature


Reply to: