Add '.dircolors' but don't enable it.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 25 Sep 2011 17:10:06 +0300
changeset 208 ba6619e43b22
parent 207 db705bb4344e
child 209 f236b47efe74
Add '.dircolors' but don't enable it.
.bashrc
.dircolors
Makefile
--- a/.bashrc	Sun Sep 25 17:09:24 2011 +0300
+++ b/.bashrc	Sun Sep 25 17:10:06 2011 +0300
@@ -18,6 +18,10 @@
   ;;
 esac
 
+# if [ -f ~/.dircolors ]; then
+#   eval `dircolors -b ~/.dircolors`
+# fi
+
 # Easy cd to often used dirs.
 CDPATH=.:~:~/devel:~/devel/my-devel
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.dircolors	Sun Sep 25 17:10:06 2011 +0300
@@ -0,0 +1,96 @@
+# Below are the color init strings for the basic file types. A color init
+# string consists of one or more of the following numeric codes:
+# Attribute codes:
+# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
+# Text color codes:
+# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
+# Background color codes:
+# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
+
+# Global default.
+NORMAL 00
+FILE 00
+DIR 01;34
+LINK 01;36
+FIFO 40;33
+SOCK 01;35
+DOOR 01;35
+# Block device driver.
+BLK 40;33;01
+# Character device driver.
+CHR 40;33;01
+# Symlink to nonexistent file.
+ORPHAN 40;31;01
+# Files with execute permission.
+EXEC 01;32
+
+.cmd 01;32
+.exe 01;32
+.com 01;32
+.btm 01;32
+.bat 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
+.jar 01;31
+
+.jpg 0;32
+.jpe 0;32
+.jpeg 0;32
+.gif 0;32
+.bmp 0;32
+.pbm 0;32
+.pgm 0;32
+.ppm 0;32
+.tga 0;32
+.xbm 0;32
+.xpm 0;32
+.tif 0;32
+.tiff 0;32
+.png 0;32
+.eps 0;32
+.mpg 0;32
+.mpeg 0;32
+.avi 0;32
+.fli 0;32
+.gl 0;32
+.dl 0;32
+.xcf 0;32
+.xwd 0;32
+
+.ogg 01;35
+.mp3 01;35
+.wav 01;35
+
+.o 01;33
+.c 01;35
+.cc 01;35
+.h 01;35
+.pl 01;35
+.pm 01;35
+.m 01;35
+
+*Makefile 0;35
+*tags 01;32
+*~ 01;30
+.swp 01;30
+*README 01;31
+.tex 01;31
+.htm 01;31
+.html 01;31
+
+*readme 00;31
+.pdf 00;31
+.ps 00;31
+.dvi 00;31
+
--- a/Makefile	Sun Sep 25 17:09:24 2011 +0300
+++ b/Makefile	Sun Sep 25 17:10:06 2011 +0300
@@ -23,7 +23,7 @@
 endif
 
 OVERRIDDEN_ITEMS = \
-    .inputrc .minttyrc .Xdefaults .xinitrc .xserverrc .screenrc \
+    .inputrc .minttyrc .Xdefaults .xinitrc .xserverrc .screenrc .dircolors \
     .bashrc .zshrc .vimrc .ssh \
     .mailsign .muttrc .tidy \
     .dictrc \