comparison dot_lscolors @ 549:4a8042dab396

Tweak dircolors
author zegervdv <zegervdv@me.com>
date Tue, 01 Feb 2022 09:48:36 +0100
parents 836332643468
children 1b7d04302f89
comparison
equal deleted inserted replaced
548:1b60ade60015 549:4a8042dab396
1 # Exact Solarized Dark color theme for the color GNU ls utility. 1 # Term Section
2 # Designed for dircolors (GNU coreutils) 5.97 2 TERM xterm-256color
3 # 3
4 # This simple theme was simultaneously designed for these terminal color schemes: 4 NORMAL 00;38;2;171;178;191 # no color code at all
5 # - Solarized dark (best) 5 FILE 00 # regular file: use no color at all
6 # - Solarized light 6 RESET 00;38;2;171;178;191 # reset to "normal" color
7 # - default dark 7 DIR 00;38;2;97;175;239 # directory 01;34
8 # - default light 8 LINK 00;38;2;86;182;194 # symbolic link. (If you set this to 'target' instead of a
9 # with a slight optimization for Solarized Dark. 9 MULTIHARDLINK 00 # regular file with more than one link
10 # 10 FIFO 07;38;2;171;178;191 # pipe
11 # How the colors were selected: 11 SOCK 07;38;2;171;178;191 # socket
12 # - Terminal emulators often have an option typically enabled by default that makes 12 DOOR 07;38;2;171;178;191 # door
13 # bold a different color. It is important to leave this option enabled so that 13 BLK 07;38;2;171;178;191 # block device driver
14 # you can access the entire 16-color Solarized palette, and not just 8 colors. 14 CHR 07;38;2;171;178;191 # character device driver
15 # - We favor universality over a greater number of colors. So we limit the number 15 ORPHAN 00;38;2;190;80;70 # symlink to nonexistent file, or non-stat'able file
16 # of colors so that this theme will work out of the box in all terminals, 16 SETUID 01;38;2;171;178;191 # file that is setuid (u+s)
17 # Solarized or not, dark or light. 17 SETGID 04;01;38;2;171;178;191 # file that is setgid (g+s)
18 # - We choose to have the following category of files: 18 CAPABILITY 07;38;2;171;178;191 # file with capability
19 # NORMAL & FILE, DIR, LINK, EXEC and 19 STICKY_OTHER_WRITABLE 04;01;38;2;97;175;239 # dir that is sticky and other-writable (+t,o+w)
20 # editable text including source, unimportant text, binary docs & multimedia source 20 OTHER_WRITABLE 01;38;2;97;175;239 # dir that is other-writable (o+w) and not sticky
21 # files, viewable multimedia, archived/compressed, and unimportant non-text 21 STICKY 04;38;2;97;175;239 # dir with the sticky bit set (+t) and not other-writable
22 # - For uniqueness, we stay away from the Solarized foreground colors are -- either 22 EXEC 00;38;2;152;195;121 # This is for files with execute permission:
23 # base00 (brightyellow) or base0 (brightblue). However, they can be used if 23
24 # you know what the bg/fg colors of your terminal are, in order to optimize the display. 24 ## Source Code (yellow)
25 # - 3 different options are provided: universal, solarized dark, and solarized light. 25 .jl 00;38;2;255;194;75
26 # The only difference between the universal scheme and one that's optimized for 26 .c 00;38;2;255;194;75
27 # dark/light is the color of "unimportant" files, which should blend more with the 27 .cpp 00;38;2;255;194;75
28 # background 28 .cc 00;38;2;255;194;75
29 # - We note that blue is the hardest color to see on dark bg and yellow is the hardest 29 .h 00;38;2;255;194;75
30 # color to see on light bg (with blue being particularly bad). So we choose yellow 30 .asm 00;38;2;255;194;75
31 # for multimedia files which are usually accessed in a GUI folder browser anyway. 31 .py 00;38;2;255;194;75
32 # And blue is kept for custom use of this scheme's user. 32 .js 00;38;2;255;194;75
33 # - See table below to see the assignments. 33 .java 00;38;2;255;194;75
34 .sh 00;38;2;255;194;75
35 .zsh 00;38;2;255;194;75
36 .bash 00;38;2;255;194;75
37 .perl 00;38;2;255;194;75
38 .pl 00;38;2;255;194;75
39 .go 00;38;2;255;194;75
40 .scala 00;38;2;255;194;75
41 .m 00;38;2;255;194;75
42 .cs 00;38;2;255;194;75
43 .r 00;38;2;255;194;75
44 .lua 00;38;2;255;194;75
45 .vim 00;38;2;255;194;75
46 .sv 00;38;2;255;194;75
47 .svh 00;38;2;255;194;75
48 .v 00;38;2;255;194;75
49 .vhd 00;38;2;255;194;75
50 .html 00;38;2;255;194;75
34 51
35 52
36 # Installation instructions: 53 ## "Useless" files (Comment Grey)
37 # This file goes in the /etc directory, and must be world readable. 54 .orig 00;38;2;92;99;112
38 # You can copy this file to .dir_colors in your $HOME directory to override 55 .dup 00;38;2;92;99;112
39 # the system defaults. 56 .rej 00;38;2;92;99;112
40 57
41 # COLOR needs one of these arguments: 'tty' colorizes output to ttys, but not 58 ## Text files (light blue)
42 # pipes. 'all' adds color characters to all output. 'none' shuts colorization 59 .csv 00;38;2;152;195;121
43 # off. 60 .txt 00;38;2;152;195;121
44 COLOR tty 61 .md 00;38;2;152;195;121
62 .toml 00;38;2;152;195;121
63 .yml 00;38;2;152;195;121
64 .yaml 00;38;2;152;195;121
65 .xml 00;38;2;152;195;121
66 .json 00;38;2;152;195;121
67 .conf 00;38;2;152;195;121
45 68
46 # Below, there should be one TERM entry for each termtype that is colorizable 69 ## Archives or compressed (light red)
47 TERM ansi 70 .tar 00;38;2;224;108;117
48 TERM color_xterm 71 .tgz 00;38;2;224;108;117
49 TERM color-xterm 72 .arj 00;38;2;224;108;117
50 TERM con132x25 73 .taz 00;38;2;224;108;117
51 TERM con132x30 74 .lzh 00;38;2;224;108;117
52 TERM con132x43 75 .lzma 00;38;2;224;108;117
53 TERM con132x60 76 .tlz 00;38;2;224;108;117
54 TERM con80x25 77 .txz 00;38;2;224;108;117
55 TERM con80x28 78 .zip 00;38;2;224;108;117
56 TERM con80x30 79 .z 00;38;2;224;108;117
57 TERM con80x43 80 .Z 00;38;2;224;108;117
58 TERM con80x50 81 .dz 00;38;2;224;108;117
59 TERM con80x60 82 .gz 00;38;2;224;108;117
60 TERM cons25 83 .lz 00;38;2;224;108;117
61 TERM console 84 .xz 00;38;2;224;108;117
62 TERM cygwin 85 .bz2 00;38;2;224;108;117
63 TERM dtterm 86 .bz 00;38;2;224;108;117
64 TERM dvtm 87 .tbz 00;38;2;224;108;117
65 TERM dvtm-256color 88 .tbz2 00;38;2;224;108;117
66 TERM Eterm 89 .tz 00;38;2;224;108;117
67 TERM eterm-color 90 .deb 00;38;2;224;108;117
68 TERM fbterm 91 .rpm 00;38;2;224;108;117
69 TERM gnome 92 .jar 00;38;2;224;108;117
70 TERM gnome-256color 93 .rar 00;38;2;224;108;117
71 TERM jfbterm 94 .ace 00;38;2;224;108;117
72 TERM konsole 95 .zoo 00;38;2;224;108;117
73 TERM konsole-256color 96 .cpio 00;38;2;224;108;117
74 TERM kterm 97 .7z 00;38;2;224;108;117
75 TERM linux 98 .rz 00;38;2;224;108;117
76 TERM linux-c 99 .apk 00;38;2;224;108;117
77 TERM mach-color 100 .gem 00;38;2;224;108;117
78 TERM mlterm
79 TERM nxterm
80 TERM putty
81 TERM putty-256color
82 TERM rxvt
83 TERM rxvt-256color
84 TERM rxvt-cygwin
85 TERM rxvt-cygwin-native
86 TERM rxvt-unicode
87 TERM rxvt-unicode256
88 TERM rxvt-unicode-256color
89 TERM screen
90 TERM screen-16color
91 TERM screen-16color-bce
92 TERM screen-16color-s
93 TERM screen-16color-bce-s
94 TERM screen-256color
95 TERM screen-256color-bce
96 TERM screen-256color-s
97 TERM screen-256color-bce-s
98 TERM screen-256color-italic
99 TERM screen-bce
100 TERM screen-w
101 TERM screen.linux
102 TERM screen.xterm-256color
103 TERM screen.xterm-new
104 TERM st
105 TERM st-meta
106 TERM st-256color
107 TERM st-meta-256color
108 TERM tmux
109 TERM tmux-256color
110 TERM vt100
111 TERM xterm
112 TERM xterm-new
113 TERM xterm-16color
114 TERM xterm-256color
115 TERM xterm-256color-italic
116 TERM xterm-88color
117 TERM xterm-color
118 TERM xterm-debian
119 TERM xterm-termite
120 101
121 # EIGHTBIT, followed by '1' for on, '0' for off. (8-bit output) 102 # Image and Video formats (magenta)
122 EIGHTBIT 1 103 .jpg 00;38;2;198;120;221
123 104 .JPG 00;38;2;198;120;221 #stupid but needed
124 ############################################################################# 105 .jpeg 00;38;2;198;120;221
125 # Below are the color init strings for the basic file types. A color init 106 .gif 00;38;2;198;120;221
126 # string consists of one or more of the following numeric codes: 107 .bmp 00;38;2;198;120;221
127 # 108 .pbm 00;38;2;198;120;221
128 # Attribute codes: 109 .pgm 00;38;2;198;120;221
129 # 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed 110 .ppm 00;38;2;198;120;221
130 # Text color codes: 111 .tga 00;38;2;198;120;221
131 # 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white 112 .xbm 00;38;2;198;120;221
132 # Background color codes: 113 .xpm 00;38;2;198;120;221
133 # 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white 114 .tif 00;38;2;198;120;221
134 # 115 .tiff 00;38;2;198;120;221
135 # NOTES: 116 .png 00;38;2;198;120;221
136 # - See http://www.oreilly.com/catalog/wdnut/excerpt/color_names.html 117 .PNG 00;38;2;198;120;221
137 # - Color combinations 118 .svg 00;38;2;198;120;221
138 # ANSI Color code Solarized Notes Universal SolDark SolLight 119 .svgz 00;38;2;198;120;221
139 # ~~~~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~ ~~~~~~~~~ ~~~~~~~ ~~~~~~~~ 120 .mng 00;38;2;198;120;221
140 # 00 none NORMAL, FILE <SAME> <SAME> 121 .pcx 00;38;2;198;120;221
141 # 30 black base02 122 .dl 00;38;2;198;120;221
142 # 01;30 bright black base03 bg of SolDark 123 .xcf 00;38;2;198;120;221
143 # 31 red red docs & mm src <SAME> <SAME> 124 .xwd 00;38;2;198;120;221
144 # 01;31 bright red orange EXEC <SAME> <SAME> 125 .yuv 00;38;2;198;120;221
145 # 32 green green editable text <SAME> <SAME> 126 .cgm 00;38;2;198;120;221
146 # 01;32 bright green base01 unimportant text <SAME> 127 .emf 00;38;2;198;120;221
147 # 33 yellow yellow unclear in light bg multimedia <SAME> <SAME> 128 .eps 00;38;2;198;120;221
148 # 01;33 bright yellow base00 fg of SolLight unimportant non-text 129 .CR2 00;38;2;198;120;221
149 # 34 blue blue unclear in dark bg user customized <SAME> <SAME> 130 .ico 00;38;2;198;120;221
150 # 01;34 bright blue base0 fg in SolDark unimportant text 131 .mov 00;38;2;198;120;221
151 # 35 magenta magenta LINK <SAME> <SAME> 132 .MOV 00;38;2;198;120;221
152 # 01;35 bright magenta violet archive/compressed <SAME> <SAME> 133 .mpg 00;38;2;198;120;221
153 # 36 cyan cyan DIR <SAME> <SAME> 134 .mpeg 00;38;2;198;120;221
154 # 01;36 bright cyan base1 unimportant non-text <SAME> 135 .m2v 00;38;2;198;120;221
155 # 37 white base2 136 .mkv 00;38;2;198;120;221
156 # 01;37 bright white base3 bg in SolLight 137 .ogm 00;38;2;198;120;221
157 # 05;37;41 unclear in Putty dark 138 .mp4 00;38;2;198;120;221
158 139 .m4v 00;38;2;198;120;221
159 140 .mp4v 00;38;2;198;120;221
160 ### By file type 141 .vob 00;38;2;198;120;221
161 142 .qt 00;38;2;198;120;221
162 # global default 143 .nuv 00;38;2;198;120;221
163 NORMAL 00 144 .wmv 00;38;2;198;120;221
164 # normal file 145 .asf 00;38;2;198;120;221
165 FILE 00 146 .rm 00;38;2;198;120;221
166 # directory 147 .rmvb 00;38;2;198;120;221
167 DIR 34 148 .flc 00;38;2;198;120;221
168 # 777 directory 149 .avi 00;38;2;198;120;221
169 OTHER_WRITABLE 34;40 150 .fli 00;38;2;198;120;221
170 STICKY_OTHER_WRITABLE 00 151 .flv 00;38;2;198;120;221
171 # symbolic link 152 .gl 00;38;2;198;120;221
172 LINK 35 153 .m2ts 00;38;2;198;120;221
173 154 .divx 00;38;2;198;120;221
174 # pipe, socket, block device, character device (blue bg) 155 .webm 00;38;2;198;120;221
175 FIFO 30;44
176 SOCK 35;44
177 DOOR 35;44 # Solaris 2.5 and later
178 BLK 33;44
179 CHR 37;44
180
181
182 #############################################################################
183 ### By file attributes
184
185 # Orphaned symlinks (blinking white on red)
186 # Blink may or may not work (works on iTerm dark or light, and Putty dark)
187 ORPHAN 05;37;41
188 # ... and the files that orphaned symlinks point to (blinking white on red)
189 MISSING 05;37;41
190
191 # files with execute permission
192 EXEC 01;31 # Unix
193 .cmd 01;31 # Win
194 .exe 01;31 # Win
195 .com 01;31 # Win
196 .bat 01;31 # Win
197 .reg 01;31 # Win
198 .app 01;31 # OSX
199
200 #############################################################################
201 ### By extension
202
203 # List any file extensions like '.gz' or '.tar' that you would like ls
204 # to colorize below. Put the extension, a space, and the color init string.
205 # (and any comments you want to add after a '#')
206
207 ### Text formats
208
209 # Text that we can edit with a regular editor
210 .txt 32
211 .org 32
212 .md 32
213 .mkd 32
214
215 # Source text
216 .h 32
217 .hpp 32
218 .c 32
219 .C 32
220 .cc 32
221 .cpp 32
222 .cxx 32
223 .objc 32
224 .cl 32
225 .sh 32
226 .bash 32
227 .csh 32
228 .zsh 32
229 .el 32
230 .vim 32
231 .java 32
232 .pl 32
233 .pm 32
234 .py 32
235 .rb 32
236 .hs 32
237 .php 32
238 .htm 32
239 .html 32
240 .shtml 32
241 .erb 32
242 .haml 32
243 .xml 32
244 .rdf 32
245 .css 32
246 .sass 32
247 .scss 32
248 .less 32
249 .js 32
250 .coffee 32
251 .man 32
252 .0 32
253 .1 32
254 .2 32
255 .3 32
256 .4 32
257 .5 32
258 .6 32
259 .7 32
260 .8 32
261 .9 32
262 .l 32
263 .n 32
264 .p 32
265 .pod 32
266 .tex 32
267 .go 32
268 .sql 32
269 .csv 32
270 .sv 32
271 .svh 32
272 .v 32
273 .vh 32
274 .vhd 32
275 .phsi 01;33
276 .json 01;33
277 .build 31
278
279 ### Multimedia formats
280
281 # Image
282 .bmp 33
283 .cgm 33
284 .dl 33
285 .dvi 33
286 .emf 33
287 .eps 33
288 .gif 33
289 .jpeg 33
290 .jpg 33
291 .JPG 33
292 .mng 33
293 .pbm 33
294 .pcx 33
295 .pdf 33
296 .pgm 33
297 .png 33
298 .PNG 33
299 .ppm 33
300 .pps 33
301 .ppsx 33
302 .ps 33
303 .svg 33
304 .svgz 33
305 .tga 33
306 .tif 33
307 .tiff 33
308 .xbm 33
309 .xcf 33
310 .xpm 33
311 .xwd 33
312 .xwd 33
313 .yuv 33
314
315 # Audio
316 .aac 33
317 .au 33
318 .flac 33
319 .m4a 33
320 .mid 33
321 .midi 33
322 .mka 33
323 .mp3 33
324 .mpa 33
325 .mpeg 33
326 .mpg 33
327 .ogg 33
328 .opus 33
329 .ra 33
330 .wav 33
331
332 # Video
333 .anx 33
334 .asf 33
335 .avi 33
336 .axv 33
337 .flc 33
338 .fli 33
339 .flv 33
340 .gl 33
341 .m2v 33
342 .m4v 33
343 .mkv 33
344 .mov 33
345 .MOV 33
346 .mp4 33
347 .mp4v 33
348 .mpeg 33
349 .mpg 33
350 .nuv 33
351 .ogm 33
352 .ogv 33
353 .ogx 33
354 .qt 33
355 .rm 33
356 .rmvb 33
357 .swf 33
358 .vob 33
359 .webm 33
360 .wmv 33
361
362 ### Misc
363
364 # Binary document formats and multimedia source
365 .doc 31
366 .docx 31
367 .rtf 31
368 .odt 31
369 .dot 31
370 .dotx 31
371 .ott 31
372 .xls 31
373 .xlsx 31
374 .ods 31
375 .ots 31
376 .ppt 31
377 .pptx 31
378 .odp 31
379 .otp 31
380 .fla 31
381 .psd 31
382
383 # Archives, compressed
384 .7z 1;35
385 .apk 1;35
386 .arj 1;35
387 .bin 1;35
388 .bz 1;35
389 .bz2 1;35
390 .cab 1;35 # Win
391 .deb 1;35
392 .dmg 1;35 # OSX
393 .gem 1;35
394 .gz 1;35
395 .iso 1;35
396 .jar 1;35
397 .msi 1;35 # Win
398 .rar 1;35
399 .rpm 1;35
400 .tar 1;35
401 .tbz 1;35
402 .tbz2 1;35
403 .tgz 1;35
404 .tx 1;35
405 .war 1;35
406 .xpi 1;35
407 .xz 1;35
408 .z 1;35
409 .Z 1;35
410 .zip 1;35
411
412 # For testing
413 .ANSI-30-black 30
414 .ANSI-01;30-brblack 01;30
415 .ANSI-31-red 31
416 .ANSI-01;31-brred 01;31
417 .ANSI-32-green 32
418 .ANSI-01;32-brgreen 01;32
419 .ANSI-33-yellow 33
420 .ANSI-01;33-bryellow 01;33
421 .ANSI-34-blue 34
422 .ANSI-01;34-brblue 01;34
423 .ANSI-35-magenta 35
424 .ANSI-01;35-brmagenta 01;35
425 .ANSI-36-cyan 36
426 .ANSI-01;36-brcyan 01;36
427 .ANSI-37-white 37
428 .ANSI-01;37-brwhite 01;37
429
430 #############################################################################
431 # Your customizations
432
433 # Unimportant text files
434 # For universal scheme, use brightgreen 01;32
435 # For optimal on light bg (but too prominent on dark bg), use white 01;34
436 .log 01;32
437 *~ 01;32
438 *# 01;32
439 #.log 01;34
440 #*~ 01;34
441 #*# 01;34
442
443 # Unimportant non-text files
444 # For universal scheme, use brightcyan 01;36
445 # For optimal on dark bg (but too prominent on light bg), change to 01;33
446 #.bak 01;36
447 #.BAK 01;36
448 #.old 01;36
449 #.OLD 01;36
450 #.org_archive 01;36
451 #.off 01;36
452 #.OFF 01;36
453 #.dist 01;36
454 #.DIST 01;36
455 #.orig 01;36
456 #.ORIG 01;36
457 #.swp 01;36
458 #.swo 01;36
459 #*,v 01;36
460 .bak 00
461 .BAK 00
462 .old 00
463 .OLD 00
464 .org_archive 00
465 .off 00
466 .OFF 00
467 .dist 00
468 .DIST 00
469 .orig 00
470 .ORIG 00
471 .swp 00
472 .swo 00
473 *,v 00
474
475 # The brightmagenta (Solarized: purple) color is free for you to use for your
476 # custom file type
477 .gpg 34
478 .gpg 34
479 .pgp 34
480 .asc 34
481 .3des 34
482 .aes 34
483 .enc 34
484 .sqlite 34
485 .dup 37
486 .dcp 31
487 .rpt 32