This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ls --color scheme


Robert Mark Bram wrote:
Howdy all!

For the record, this is what I have found out about changing ls color
scheme.

These three lines in my .bashrc file allow me to configure the color system
by extension.

alias ls="ls --color=auto"
LS_COLORS="di=31;1:ln=36;1:ex=31;1:*~=31;1:*.html=31;1:*.shtml=37;1"
export LS_COLORS
I knew that ;)

export LS_COLORS="no=00:\
fi=00:\
di=01;34:\
ln=01;36:\
pi=40;33:\
so=01;35:\
bd=01;40;33:\
cd=01;40;33:\
or=01;41;33:\
ex=01;32:\
*.mpg=01;31:*.avi=01;31:*.gl=01;31:*.dl=01;31:\
*.Mpg=01;31:*.Avi=01;31:*.Gl=01;31:*.Dl=01;31:\
*.MPG=01;31:*.AVI=01;31:*.GL=01;31:*.DL=01;31:\
*.jar=32:*.taz=32:*.tar=32:*.tgz=32:*.gz=32:*.bz2=32:*.z=32:*.arj=32:*.lzh=32:*.zip=32:*.deb=32:*.rpm=32:\
*.Jar=32:*.Taz=32:*.Tar=32:*.Tgz=32:*.Gz=32:*.Bz2=32:*.Z=32:*.Arj=32:*.Lzh=32:*.Zip=32:*.Deb=32:*.Rpm=32:\
*.JAR=32:*.TAZ=32:*.TAR=32:*.TGZ=32:*.GZ=32:*.BZ2=32:*.Z=32:*.ARJ=32:*.LZH=32:*.ZIP=32:*.DEB=32:*.RPM=32:\
*.cmd=01;32:\
*.Cmd=01;32:\
*.CMD=01;32:\
*.class=33:*.obj=33:\
*.Class=33:*.Obj=33:\
*.CLASS=33:*.OBJ=33:\
*.java=01;33:*.c=01;33:*.cpp=01;33:*.cxx=01;33:*.h=01;33:*.hh=01;33:*.hpp=01;33:*.hxx=01;33:\
*.Java=01;33:*.C=01;33:*.Cpp=01;33:*.Cxx=01;33:*.H=01;33:*.Hh=01;33:*.Hpp=01;33:*.Hxx=01;33:\
*.JAVA=01;33:*.C=01;33:*.CPP=01;33:*.CXX=01;33:*.H=01;33:*.HH=01;33:*.HPP=01;33:*.HXX=01;33:\
*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:\
*.Jpg=01;35:*.Gif=01;35:*.Bmp=01;35:*.Ppm=01;35:*.Tga=01;35:*.Xbm=01;35:*.Xpm=01;35:*.Tif=01;35:\
*.JPG=01;35:*.GIF=01;35:*.BMP=01;35:*.PPM=01;35:*.TGA=01;35:*.XBM=01;35:*.XPM=01;35:*.TIF=01;35:\
*.html=01;37:*.doc=01;37:*.txt=01;37:*readme=01;37:\
*.Html=01;37:*.Doc=01;37:*.Txt=01;37:*Readme=01;37:\
*.HTML=01;37:*.DOC=01;37:*.TXT=01;37:*README=01;37:\
"



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]