Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.3: Colored output from ls (revisited)' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.3: Colored output from ls (revisited)
Authored by: DMCrimson on May 10, '05 09:01:11AM

the above works well in 10.4, but I've my own gripes...
on my old environmernt.mine I had the following:
LSCOLORS='no=00:fi=00:di=01;33:ln=01;36:pi=40;33:so=01;35\
:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=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:*.deb=01;31\
:*.rpm=01;31:*.jpg=01;35:*.png=01;35:*.gif=01;35:*.bmp=01;35\
:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35\
:*.png=01;35:*.mpg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35\
:*.dl=01;35:*.rtf=00;33:*.sit=01;31:*.pak=01;31:*.rsrc=01;34:';
export LSCOLORS

(*** \ means the line continues. !!)
Is there any way to convert it to the new ls? or should I go on and compile fileutils, installing just ls...



[ Reply to This | # ]