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

Re: Enableing color LS on consoke sessions



On Sun 25 Mar 01,  5:34 PM, Hall Stevenson said: 
> * Peter Jay Salzman (p@dirac.org) [010325 16:14]:
> > the "auto" keyword is nice cause it doesn't frick up your listing when
> > piping to more or less.  i also use my own color scheme
> > 
> > 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?

> My problem is that dirs are
> "blue" and very difficult (actually, almost impossible for me -- being
> color-blind doesn't help, no doubt) for me to read.

using LS_COLORS, you can make the directories whatever color you like.
took me an hour or so to figure out how to produce something i liked.  not a
bad time investment for something you use a lot!  :-)

pete



Reply to: