Mercurial > repos > other > linux
annotate dircolors @ 40:7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Mon, 20 Mar 2017 21:07:16 +0000 |
parents | 281a9cb03796 |
children | 3680ddae8df8 |
rev | line source |
---|---|
11
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1 # Configuration file for the color ls utility |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2 # |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3 # Modified by IBBoard as a combination of openSUSE, CentOS 6 and other inspiration |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
4 # |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
5 # This file goes in the /etc directory, and must be world readable. |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
6 # You can copy this file to .dir_colors in your $HOME directory to override |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
7 # the system defaults. |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
8 |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
9 # COLOR needs one of these arguments: 'tty' colorizes output to ttys, but not |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
10 # pipes. 'all' adds color characters to all output. 'none' shuts colorization |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
11 # off. |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
12 COLOR tty |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
13 |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
14 # Extra command line options for ls go here. |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
15 # Basically these ones are: |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
16 # -F = show '/' for dirs, '*' for executables, etc. |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
17 # -T 0 = don't trust tab spacing when formatting ls output. |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
18 OPTIONS -F -T 0 |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
19 |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
20 # Below, there should be one TERM entry for each termtype that is colorizable |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
21 TERM linux |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
22 TERM linux-c |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
23 TERM console |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
24 TERM con132x25 |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
25 TERM con132x30 |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
26 TERM con132x43 |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
27 TERM con132x60 |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
28 TERM con80x25 |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
29 TERM con80x28 |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
30 TERM con80x30 |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
31 TERM con80x43 |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
32 TERM con80x50 |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
33 TERM con80x60 |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
34 TERM gnome |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
35 TERM mach-color |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
36 TERM rxvt |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
37 TERM rxvt-unicode |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
38 TERM screen |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
39 TERM screen-w |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
40 TERM screen-256color |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
41 TERM vt100 |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
42 TERM vt102 |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
43 TERM xterm |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
44 TERM xterm-debian |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
45 TERM xterm-256color |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
46 TERM iterm |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
47 |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
48 # EIGHTBIT, followed by '1' for on, '0' for off. (8-bit output) |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
49 EIGHTBIT 1 |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
50 |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
51 # Below are the color init strings for the basic file types. A color init |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
52 # string consists of one or more of the following numeric codes: |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
53 # |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
54 # Attribute codes: |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
55 # 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
56 # Text color codes: |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
57 # 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
58 # Background color codes: |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
59 # 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white |
40
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
60 # |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
61 # But we're mainly using 256-colour mode: 38=foreground, 5=256-colour |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
62 # then next number is number in colour table: |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
63 # https://en.wikipedia.org/wiki/ANSI_escape_code#Colors |
11
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
64 |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
65 NORMAL 00 # global default, although everything should be something. |
40
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
66 FILE 00;38;5;236 # normal file |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
67 DIR 01;38;5;25 # directory |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
68 LINK 00;38;5;30 # symbolic link |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
69 FIFO 48;5;236;38;5;178 # pipe |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
70 SOCK 01;38;5;13 # socket |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
71 DOOR 01;38;5;13 # door |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
72 BLK 48;5;236;38;5;178;01 # block device driver |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
73 CHR 48;5;236;38;5;178;01 # character device driver |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
74 ORPHAN 48;5;236;31;01 # symlink to nonexistent file, or non-stat'able file |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
75 MISSING 01;38;5;178;48;5;11 # ... and the files they point to |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
76 SETUID 37;48;5;11 # file that is setuid (u+s) |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
77 SETGID 38;5;236;48;5;11 # file that is setgid (g+s) |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
78 CAPABILITY 38;5;236;43 # file with capability |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
79 STICKY_OTHER_WRITABLE 01;38;5;12;42 # dir that is sticky and other-writable (+t,o+w) - ala /tmp, and hence okay |
11
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
80 OTHER_WRITABLE 01;31;42 # dir that is other-writable (o+w) and not sticky - 777 is bad so use red |
40
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
81 STICKY 01;38;5;12;43 # dir with the sticky bit set (+t) and not other-writable |
11
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
82 |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
83 |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
84 # This is for files with execute permission: |
40
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
85 EXEC 00;38;5;70 |
11
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
86 |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
87 # List any file extensions like '.gz' or '.tar' that you would like ls |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
88 # to colorize below. Put the extension, a space, and the color init string. |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
89 # (and any comments you want to add after a '#') |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
90 |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
91 # executables (green) |
40
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
92 .cmd 00;38;5;70 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
93 .exe 00;38;5;70 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
94 .com 00;38;5;70 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
95 .bat 00;38;5;70 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
96 .btm 00;38;5;70 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
97 .dll 00;38;5;70 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
98 .sh 00;38;5;70 |
11
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
99 |
40
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
100 # archives or compressed (brown) |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
101 .tar 00;38;5;94 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
102 .tbz 00;38;5;94 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
103 .tgz 00;38;5;94 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
104 .rpm 00;38;5;94 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
105 .deb 00;38;5;94 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
106 .arj 00;38;5;94 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
107 .taz 00;38;5;94 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
108 .lzh 00;38;5;94 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
109 .lzma 00;38;5;94 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
110 .zip 00;38;5;94 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
111 .zoo 00;38;5;94 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
112 .z 00;38;5;94 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
113 .Z 00;38;5;94 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
114 .gz 00;38;5;94 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
115 .bz2 00;38;5;94 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
116 .tb2 00;38;5;94 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
117 .tz2 00;38;5;94 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
118 .tbz2 00;38;5;94 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
119 .xz 00;38;5;94 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
120 .7z 00;38;5;94 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
121 .jar 00;38;5;94 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
122 .iso 00;38;5;94 |
11
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
123 |
40
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
124 # image formats (Tango purple-ish) |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
125 .avi 00;38;5;98 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
126 .bmp 00;38;5;98 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
127 .fli 00;38;5;98 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
128 .gif 00;38;5;98 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
129 .GIF 00;38;5;98 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
130 .jpg 00;38;5;98 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
131 .JPG 00;38;5;98 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
132 .jpeg 00;38;5;98 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
133 .mng 00;38;5;98 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
134 .pcx 00;38;5;98 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
135 .pbm 00;38;5;98 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
136 .pgm 00;38;5;98 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
137 .png 00;38;5;98 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
138 .ppm 00;38;5;98 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
139 .tga 00;38;5;98 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
140 .tif 00;38;5;98 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
141 .xbm 00;38;5;98 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
142 .xpm 00;38;5;98 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
143 .dl 00;38;5;98 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
144 .gl 00;38;5;98 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
145 .wmv 00;38;5;98 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
146 .xcf 00;38;5;98 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
147 .svg 00;38;5;98 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
148 .svgz 00;38;5;98 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
149 .psd 00;38;5;98 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
150 .ico 00;38;5;98 |
11
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
151 |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
152 # sound and video formats (yellow) |
40
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
153 .aiff 00;38;5;178 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
154 .au 00;38;5;178 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
155 .mid 00;38;5;178 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
156 .mp3 00;38;5;178 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
157 .ogg 00;38;5;178 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
158 .voc 00;38;5;178 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
159 .wav 00;38;5;178 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
160 .mov 00;38;5;178 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
161 .mpg 00;38;5;178 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
162 .mpg 00;38;5;178 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
163 .mpeg 00;38;5;178 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
164 .m2v 00;38;5;178 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
165 .mkv 00;38;5;178 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
166 .ogm 00;38;5;178 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
167 .mp4 00;38;5;178 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
168 .m4v 00;38;5;178 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
169 .mp4v 00;38;5;178 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
170 .vob 00;38;5;178 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
171 .avi 00;38;5;178 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
172 .webm 00;38;5;178 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
173 .MP4 00;38;5;178 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
174 .MPG 00;38;5;178 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
175 .MP3 00;38;5;178 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
176 .amr 00;38;5;178 |
11
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
177 |
40
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
178 # Documents |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
179 .html 00;38;5;69 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
180 .doc 00;38;5;69 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
181 .htm 00;38;5;69 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
182 .docx 00;38;5;69 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
183 .ppt 00;38;5;69 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
184 .pptx 00;38;5;69 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
185 .xsl 00;38;5;69 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
186 .xslx 00;38;5;69 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
187 .txt 00;38;5;69 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
188 .epub 00;38;5;69 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
189 .mobi 00;38;5;69 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
190 .odt 00;38;5;69 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
191 .csv 00;38;5;69 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
192 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
193 .pdf 00;38;5;124 |
11
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
194 |
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
195 # Code (not enough colours!) |
40
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
196 #.cs 38;5;12 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
197 #.csproj 38;5;12 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
198 #.java 38;5;12 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
199 #.patch 38;5;12 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
200 #.diff 38;5;12 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
201 #.config 38;5;12 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
202 #.cfg 38;5;12 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
203 #.xml 38;5;12 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
204 #.js 38;5;12 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
205 #.sql 38;5;12 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
206 #.php 38;5;12 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
207 #.css 38;5;12 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
208 #.vala 38;5;12 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
209 #.c 38;5;12 |
11
281a9cb03796
Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
210 |
40
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
211 # backup files, templates, etc (white/grey - less obvious) |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
212 *~ 00;38;5;250 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
213 .bak 00;38;5;250 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
214 .pidb 00;38;5;250 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
215 .mdb 00;38;5;250 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
216 .ott 00;38;5;250 |
7af4ce187680
Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents:
11
diff
changeset
|
217 .ots 00;38;5;250 |