dircolors 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. # Below, there should be one TERM entry for each termtype that is colorizable
  2. TERM linux
  3. TERM console
  4. TERM con132x25
  5. TERM con132x30
  6. TERM con132x43
  7. TERM con132x60
  8. TERM con80x25
  9. TERM con80x28
  10. TERM con80x30
  11. TERM con80x43
  12. TERM con80x50
  13. TERM con80x60
  14. TERM xterm
  15. TERM vt100
  16. TERM xterm-xfree86
  17. # Below are the color init strings for the basic file types. A color init
  18. # string consists of one or more of the following numeric codes:
  19. # Attribute codes:
  20. # 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
  21. # Text color codes:
  22. # 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
  23. # Background color codes:
  24. # 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
  25. NORMAL 00 # global default, although everything should be something.
  26. FILE 00 # normal file
  27. DIR 01;34 # directory
  28. LINK 01;36 # symbolic link
  29. FIFO 40;33 # pipe
  30. SOCK 01;33 # socket
  31. BLK 40;33;01 # block device driver
  32. CHR 40;33;01 # character device driver
  33. ORPHAN 40;31;01 # symlink to nonexistent file
  34. # This is for files with execute permission:
  35. EXEC 01;32
  36. # List any file extensions like '.gz' or '.tar' that you would like ls
  37. # to colorize below. Put the extension, a space, and the color init string.
  38. # (and any comments you want to add after a '#')
  39. *~ 07;31 # old files (reverse red)
  40. *.bak 07;31
  41. *.old 07;31
  42. .mtxt 07;31
  43. .ndx 07;31
  44. .cmd 01;32 # executables (bright green)
  45. .exe 01;32
  46. .com 01;32
  47. .btm 01;32
  48. .bat 01;32
  49. .c 00;36 # source code (Cyan)
  50. .h 00;36
  51. .pl 00;36
  52. .php 00;36
  53. .pm 00;36
  54. .cgi 00;36
  55. .java 00;36
  56. .html 00;36
  57. .htm 00;36
  58. .o 00;33 # byte code (brown)
  59. .class 00;33
  60. .elc 00;33
  61. .tar 01;31 # archives or compressed (bright red)
  62. .tgz 01;31
  63. .tbz2 01;31
  64. .arj 01;31
  65. .taz 01;31
  66. .lzh 01;31
  67. .zip 01;31
  68. .z 01;31
  69. .Z 01;31
  70. .gz 01;31
  71. .bz2 01;31
  72. .rpm 01;31
  73. .deb 01;31
  74. .jpg 00;35 # image formats (bright magenta)
  75. .jpeg 01;35
  76. .JPG 01;35
  77. .gif 01;35
  78. .GIF 01;35
  79. .bmp 01;35
  80. .BMP 01;35
  81. .xbm 01;35
  82. .ppm 01;35
  83. .xpm 01;35
  84. .tif 01;35