Advertisement
thunderbirdtr

bash color

Nov 22nd, 2011
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.95 KB | None | 0 0
  1. # Configuration file for the color ls utility
  2. # Synchronized with coreutils 8.5 dircolors
  3. # This file goes in the /etc directory, and must be world readable.
  4. # You can copy this file to .dir_colors in your $HOME directory to override
  5. # the system defaults.
  6.  
  7. # COLOR needs one of these arguments: 'tty' colorizes output to ttys, but not
  8. # pipes. 'all' adds color characters to all output. 'none' shuts colorization
  9. # off.
  10. COLOR tty
  11.  
  12. # Extra command line options for ls go here.
  13. # Basically these ones are:
  14. # -F = show '/' for dirs, '*' for executables, etc.
  15. # -T 0 = don't trust tab spacing when formatting ls output.
  16. OPTIONS -F -T 0
  17.  
  18. # Below, there should be one TERM entry for each termtype that is colorizable
  19. TERM Eterm
  20. TERM ansi
  21. TERM color-xterm
  22. TERM con132x25
  23. TERM con132x30
  24. TERM con132x43
  25. TERM con132x60
  26. TERM con80x25
  27. TERM con80x28
  28. TERM con80x30
  29. TERM con80x43
  30. TERM con80x50
  31. TERM con80x60
  32. TERM cons25
  33. TERM console
  34. TERM cygwin
  35. TERM dtterm
  36. TERM eterm-color
  37. TERM gnome
  38. TERM gnome-256color
  39. TERM jfbterm
  40. TERM konsole
  41. TERM kterm
  42. TERM linux
  43. TERM linux-c
  44. TERM mach-color
  45. TERM mlterm
  46. TERM putty
  47. TERM rxvt
  48. TERM rxvt-256color
  49. TERM rxvt-cygwin
  50. TERM rxvt-cygwin-native
  51. TERM rxvt-unicode
  52. TERM rxvt-unicode-256color
  53. TERM rxvt-unicode256
  54. TERM screen
  55. TERM screen-256color
  56. TERM screen-256color-bce
  57. TERM screen-bce
  58. TERM screen-w
  59. TERM screen.rxvt
  60. TERM screen.linux
  61. TERM terminator
  62. TERM vt100
  63. TERM xterm
  64. TERM xterm-16color
  65. TERM xterm-256color
  66. TERM xterm-88color
  67. TERM xterm-color
  68. TERM xterm-debian
  69.  
  70. # EIGHTBIT, followed by '1' for on, '0' for off. (8-bit output)
  71. EIGHTBIT 1
  72.  
  73. # Below are the color init strings for the basic file types. A color init
  74. # string consists of one or more of the following numeric codes:
  75. # Attribute codes:
  76. # 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
  77. # Text color codes:
  78. # 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
  79. # Background color codes:
  80. # 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
  81. #NORMAL 00 # no color code at all
  82. #FILE 00 # normal file, use no color at all
  83. RESET 0 # reset to "normal" color
  84. DIR 01;34 # directory
  85. LINK 01;36 # symbolic link (If you set this to 'target' instead of a
  86. # numerical value, the color is as for the file pointed to.)
  87. MULTIHARDLINK 00 # regular file with more than one link
  88. FIFO 40;33 # pipe
  89. SOCK 01;35 # socket
  90. DOOR 01;35 # door
  91. BLK 40;33;01 # block device driver
  92. CHR 40;33;01 # character device driver
  93. ORPHAN 40;31;01 # symlink to nonexistent file, or non-stat'able file
  94. MISSING 01;05;37;41 # ... and the files they point to
  95. SETUID 37;41 # file that is setuid (u+s)
  96. SETGID 30;43 # file that is setgid (g+s)
  97. CAPABILITY 30;41 # file with capability
  98. STICKY_OTHER_WRITABLE 30;42 # dir that is sticky and other-writable (+t,o+w)
  99. OTHER_WRITABLE 34;42 # dir that is other-writable (o+w) and not sticky
  100. STICKY 37;44 # dir with the sticky bit set (+t) and not other-writable
  101.  
  102. # This is for files with execute permission:
  103. EXEC 01;32
  104.  
  105. # List any file extensions like '.gz' or '.tar' that you would like ls
  106. # to colorize below. Put the extension, a space, and the color init string.
  107. # (and any comments you want to add after a '#')
  108. # executables (bright green)
  109. #.cmd 01;32
  110. #.exe 01;32
  111. #.com 01;32
  112. #.btm 01;32
  113. #.bat 01;32
  114. #.sh 01;32
  115. #.csh 01;32
  116. # archives or compressed (bright red)
  117. .tar 01;31
  118. .tgz 01;31
  119. .arj 01;31
  120. .taz 01;31
  121. .lzh 01;31
  122. .lzma 01;31
  123. .tlz 01;31
  124. .txz 01;31
  125. .zip 01;31
  126. .z 01;31
  127. .Z 01;31
  128. .dz 01;31
  129. .gz 01;31
  130. .lz 01;31
  131. .xz 01;31
  132. .bz2 01;31
  133. .tbz 01;31
  134. .tbz2 01;31
  135. .bz 01;31
  136. .tz 01;31
  137. .deb 01;31
  138. .rpm 01;31
  139. .jar 01;31
  140. .war 01;31
  141. .ear 01;31
  142. .sar 01;31
  143. .rar 01;31
  144. .ace 01;31
  145. .zoo 01;31
  146. .cpio 01;31
  147. .7z 01;31
  148. .rz 01;31
  149.  
  150. # image formats (magenta)
  151. .jpg 01;35
  152. .jpeg 01;35
  153. .gif 01;35
  154. .bmp 01;35
  155. .pbm 01;35
  156. .pgm 01;35
  157. .ppm 01;35
  158. .tga 01;35
  159. .xbm 01;35
  160. .xpm 01;35
  161. .tif 01;35
  162. .tiff 01;35
  163. .png 01;35
  164. .svg 01;35
  165. .svgz 01;35
  166. .mng 01;35
  167. .pcx 01;35
  168. .mov 01;35
  169. .mpg 01;35
  170. .mpeg 01;35
  171. .m2v 01;35
  172. .mkv 01;35
  173. .ogm 01;35
  174. .mp4 01;35
  175. .m4v 01;35
  176. .mp4v 01;35
  177. .vob 01;35
  178. .qt 01;35
  179. .nuv 01;35
  180. .wmv 01;35
  181. .asf 01;35
  182. .rm 01;35
  183. .rmvb 01;35
  184. .flc 01;35
  185. .avi 01;35
  186. .fli 01;35
  187. .flv 01;35
  188. .gl 01;35
  189. .dl 01;35
  190. .xcf 01;35
  191. .xwd 01;35
  192. .yuv 01;35
  193. .cgm 01;35
  194. .emf 01;35
  195.  
  196. # http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions
  197. .axv 01;35
  198. .anx 01;35
  199. .ogv 01;35
  200. .ogx 01;35
  201.  
  202. # audio formats (cyan)
  203. .aac 01;36
  204. .au 01;36
  205. .flac 01;36
  206. .mid 01;36
  207. .midi 01;36
  208. .mka 01;36
  209. .mp3 01;36
  210. .mpc 01;36
  211. .ogg 01;36
  212. .ra 01;36
  213. .wav 01;36
  214.  
  215. # http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions
  216. .axa 01;36
  217. .oga 01;36
  218. .spx 01;36
  219. .xspf 01;36
  220.  
  221. # colorize basic documents (brown)
  222. .pdf 00;33
  223. .ps 00;33
  224. .ps.gz 00;33
  225. .txt 00;33
  226. .patch 00;33
  227. .diff 00;33
  228. .log 00;33
  229. .tex 00;33
  230. .xls 00;33
  231. .xlsx 00;33
  232. .ppt 00;33
  233. .pptx 00;33
  234. .rtf 00;33
  235. .doc 00;33
  236. .docx 00;33
  237. .odt 00;33
  238. .ods 00;33
  239. .odp 00;33
  240. .xml 00;33
  241. .epub 00;33
  242. .abw 00;33
  243. .html 00;33
  244. .wpd 00;33
  245.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement