ariyasa

/etc/DIR_COLORS

Jan 23rd, 2014
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.36 KB | None | 0 0
  1. # Configuration file for the color ls utility
  2. # This file goes in the /etc directory, and must be world readable.
  3. # You can copy this file to .dir_colors in your $HOME directory to override
  4. # the system defaults.
  5.  
  6. # COLOR needs one of these arguments: 'tty' colorizes output to ttys, but not
  7. # pipes. 'all' adds color characters to all output. 'none' shuts colorization
  8. # off.
  9. COLOR all
  10.  
  11. # Extra command line options for ls go here.
  12. # Basically these ones are:
  13. # -F = show '/' for dirs, '*' for executables, etc.
  14. # -T 0 = don't trust tab spacing when formatting ls output.
  15. OPTIONS -F -T 0
  16.  
  17. # Below, there should be one TERM entry for each termtype that is colorizable
  18. TERM linux
  19. TERM console
  20. TERM con132x25
  21. TERM con132x30
  22. TERM con132x43
  23. TERM con132x60
  24. TERM con80x25
  25. TERM con80x28
  26. TERM con80x30
  27. TERM con80x43
  28. TERM con80x50
  29. TERM con80x60
  30. TERM xterm
  31. TERM xterm-color
  32. TERM vt100
  33. TERM rxvt
  34. TERM rxvt-256color
  35. TERM rxvt-cygwin
  36. TERM rxvt-cygwin-native
  37. TERM rxvt-unicode
  38. TERM rxvt-unicode-256color
  39. TERM rxvt-unicode256
  40. TERM screen
  41.  
  42. # EIGHTBIT, followed by '1' for on, '0' for off. (8-bit output)
  43. EIGHTBIT 1
  44.  
  45. # Below are the color init strings for the basic file types. A color init
  46. # string consists of one or more of the following numeric codes:
  47. # Attribute codes:
  48. # 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
  49. # Text color codes:
  50. # 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
  51. # Background color codes:
  52. # 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
  53. NORMAL 00 # global default, although everything should be something.
  54. FILE 00 # normal file
  55. DIR 01;34 # directory
  56. LINK 01;36 # symbolic link
  57. FIFO 40;33 # pipe
  58. SOCK 01;35 # socket
  59. BLK 40;33;01 # block device driver
  60. CHR 40;33;01 # character device driver
  61.  
  62. # This is for files with execute permission:
  63. EXEC 01;32
  64.  
  65. # List any file extensions like '.gz' or '.tar' that you would like ls
  66. # to colorize below. Put the extension, a space, and the color init string.
  67. # (and any comments you want to add after a '#')
  68. .cmd 01;32 # executables (bright green)
  69. .exe 01;32
  70. .com 01;32
  71. .btm 01;32
  72. .bat 01;32
  73. .tar 01;31 # archives or compressed (bright red)
  74. .tgz 01;31
  75. .arj 01;31
  76. .taz 01;31
  77. .lzh 01;31
  78. .zip 01;31
  79. .z 01;31
  80. .Z 01;31
  81. .gz 01;31
  82. .jpg 01;35 # image formats
  83. .gif 01;35
  84. .bmp 01;35
  85. .xbm 01;35
  86. .xpm 01;35
  87. .tif 01;35
Add Comment
Please, Sign In to add comment