Re: Enableing color LS on consoke sessions
* CaT (cat@zip.com.au) [010325 22:13]:
> On Sun, Mar 25, 2001 at 08:48:57PM -0500, Hall Stevenson wrote:
> > * Peter Jay Salzman (p@dirac.org) [010325 19:09]:
> > > > > export
> > > > > LS_COLORS='fi=0:ex=31:di=01;34:ln=36:pi=34:cd=45:bd=46:so=35:or=43:*.rpm=01;31:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35'
> > > >
> > > >
> > > > Where is that variable assigned ?? I've checked my .bashrc, .profile,
> > > > and the "global" versions and don't see it.
> > >
> > > hall, i don't know. it could be 'built in' to bash perhaps?
> >
> > A *quick* check of "man bash" didn't indicate anything like that.
>
> Have you folks checked for something along the lines of:
>
> eval `dircolors -b`
>
> in the afore mentioned files?
Yeap, I have checked on it before... checking "man dircolors" says this:
The dir_colors file contains configuration information for
the dircolors(1) program, which in turn provides color
information for ls(1). This file is normally found in
/etc, though users may maintain their own local copies in
their home directories as .dir_colors.
I have neither an /etc/dir_colors nor ~/.dir_colors or any minor
variation.
Thanks for the idea though.
Hall
Reply to: