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

Re: bash ls in color

On Mon, Jul 31, 2000 at 09:02:08PM -0700, Dale Morris wrote:
> what do I enter to get bash to default to showing files in color. I
> know I have to edit the /etc/bash.bashrc file, but don't remember the
> command to enter.

Put the following in bash.bashrc (or type it on the command line)

alias ls='ls --color=auto'

Make sure bash.bashrc is loaded at login (in profile, make sure it is sourced)

email: john@fjellstad.org                   Quis custodiet ipsos custodes
icq: thales @ 17755648

Reply to: