annotate dircolors @ 124:c3320f06d412

Add a minimal global gitignore We could add more, but this is intended for things that only I need to ignore (such as build directories that other people might do differently) rather than stuff that everyone wants to do (like ignoring .pyc files or log files in the project)
author IBBoard <dev@ibboard.co.uk>
date Wed, 13 Mar 2019 19:19:50 +0000
parents 0829728189a2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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.
44
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
66 FILE 00 # normal file - don't colour so that it works with light and dark terminals
58
0829728189a2 Standardise dir colour with PS1 on something a step brighter
IBBoard <dev@ibboard.co.uk>
parents: 50
diff changeset
67 DIR 01;38;5;26 # directory
40
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
44
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
70 SOCK 01;38;5;248;48;5;58 # socket
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
71 DOOR 01;38;5;248;48;5;58 # door
40
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
44
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
75 MISSING 01;05;38;5;178;48;5;88 # ... and the files they point to
40
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
44
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
122 .rar 00;38;5;94
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
123 .iso 00;38;5;244
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
124 .xpi 00;38;5;166
11
281a9cb03796 Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
125
40
7af4ce187680 Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents: 11
diff changeset
126 # 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
127 .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
128 .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
129 .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
130 .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
131 .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
132 .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
133 .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
134 .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
135 .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
136 .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
137 .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
138 .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
139 .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
140 .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
141 .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
142 .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
143 .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
144 .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
145 .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
146 .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
147 .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
148 .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
149 .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
150 .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
151 .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
152 .ico 00;38;5;98
11
281a9cb03796 Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
153
281a9cb03796 Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
154 # sound and video formats (yellow)
44
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
155 .aiff 00;38;5;142
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
156 .au 00;38;5;142
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
157 .mid 00;38;5;142
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
158 .mp3 00;38;5;142
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
159 .ogg 00;38;5;142
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
160 .voc 00;38;5;142
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
161 .wav 00;38;5;142
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
162 .mov 00;38;5;142
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
163 .mpg 00;38;5;142
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
164 .mpg 00;38;5;142
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
165 .mpeg 00;38;5;142
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
166 .m2v 00;38;5;142
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
167 .mkv 00;38;5;142
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
168 .ogm 00;38;5;142
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
169 .mp4 00;38;5;142
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
170 .m4v 00;38;5;142
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
171 .mp4v 00;38;5;142
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
172 .vob 00;38;5;142
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
173 .avi 00;38;5;142
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
174 .webm 00;38;5;142
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
175 .MP4 00;38;5;142
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
176 .MPG 00;38;5;142
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
177 .MP3 00;38;5;142
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
178 .amr 00;38;5;142
11
281a9cb03796 Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
179
44
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
180 # Documents (blue)
40
7af4ce187680 Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents: 11
diff changeset
181 .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
182 .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
183 .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
184 .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
185 .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
186 .pptx 00;38;5;69
50
73dcf413d9ab Fix Excel file extension and add ODF presentations
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
187 .xls 00;38;5;69
73dcf413d9ab Fix Excel file extension and add ODF presentations
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
188 .xlsx 00;38;5;69
40
7af4ce187680 Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents: 11
diff changeset
189 .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
190 .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
191 .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
192 .odt 00;38;5;69
44
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
193 .ods 00;38;5;69
50
73dcf413d9ab Fix Excel file extension and add ODF presentations
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
194 .odp 00;38;5;69
40
7af4ce187680 Start to work with 256-colour terminal highlighting in "ls"
IBBoard <dev@ibboard.co.uk>
parents: 11
diff changeset
195 .csv 00;38;5;69
44
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
196 .sxw 00;38;5;69
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
197 .md 00;38;5;69
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
198 # Make PDF red, because Adobe and because they're non-editable
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
199 .pdf 00;38;5;88
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
200 # Make templates lighter
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
201 .ott 00;38;5;111
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
202 .ots 00;38;5;111
11
281a9cb03796 Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
203
44
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
204 # Code (darker green than executable)
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
205 .cs 00;38;5;28
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
206 .java 00;38;5;28
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
207 .config 00;38;5;28
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
208 .conf 00;38;5;28
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
209 .cfg 00;38;5;28
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
210 .xml 00;38;5;28
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
211 .js 00;38;5;28
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
212 .sql 00;38;5;28
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
213 .php 00;38;5;28
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
214 .css 00;38;5;28
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
215 .vala 00;38;5;28
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
216 .c 00;38;5;28
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
217 .h 00;38;5;28
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
218 .m4 00;38;5;28
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
219 .am 00;38;5;28
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
220 .ac 00;38;5;28
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
221 .in 00;38;5;28
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
222 .rb 00;38;5;28
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
223 .scala 00;38;5;28
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
224 .py 00;38;5;28
50
73dcf413d9ab Fix Excel file extension and add ODF presentations
IBBoard <dev@ibboard.co.uk>
parents: 45
diff changeset
225 .json 00;38;5;28
11
281a9cb03796 Add custom colouring for "ls" output
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
226
44
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
227 # Code changes (different green)
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
228 .patch 00;38;5;65
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
229 .diff 00;38;5;65
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
230
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
231 # Logs need to stand out
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
232 .log 00;38;5;160
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
233
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
234 # Security-related files in yellow
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
235 .crt 00;38;5;220
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
236 .key 00;38;5;220
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
237 .pub 00;38;5;220
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
238 .ks 00;38;5;220
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
239 .p12 00;38;5;220
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
240
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
241 # backup files, templates, and things users don't normally care about (white/grey - less obvious)
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
242 *~ 00;38;5;248
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
243 .bak 00;38;5;248
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
244 .pidb 00;38;5;248
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
245 .mdb 00;38;5;248
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
246 .pdb 00;38;5;248
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
247 .orig 00;38;5;248
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
248 .old 00;38;5;248
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
249 .rej 00;38;5;248
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
250 .pyc 00;38;5;248
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
251 .ini 00;38;5;248
3680ddae8df8 Alter colours, add more file types and increase clarity
IBBoard <dev@ibboard.co.uk>
parents: 40
diff changeset
252 .xmp 00;38;5;248