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

Solarized Color Theme for GNU ls (as setup by GNU dircolors)

2 | 3 | This is a repository of themes for GNU ls (configured via GNU 4 | dircolors) that support Ethan Schoonover’s [Solarized color 5 | scheme](http://ethanschoonover.com/solarized). 6 | 7 | See the [Solarized homepage](http://ethanschoonover.com/solarized) 8 | for screenshots, details and color theme implementations for terminal 9 | emulators and other applications, such as Vim, Emacs, and Mutt. 10 | 11 | Quick note for MacOS users: Your OS does not use GNU ls, so you can not use 12 | these themes. However, [@logic](https://github.com/logic) provided something 13 | you can use in [this issue](https://github.com/seebi/dircolors-solarized/issues/10). 14 | Another option (as [proposed](https://github.com/seebi/dircolors-solarized/issues/10#issuecomment-2641754) 15 | by [@metamorfos](https://github.com/metamorfos)) is to install GNU ls with 16 | homebrew (coreutils). 17 | 18 |

(Selected) Table of Contents

19 | 20 | * [Repositories](#repositories) 21 | * [Themes](#themes) 22 | * [Theme #1: "256dark"](#256dark) 23 | * [Theme #2: "ansi-\*"](#ansi) 24 | * [Installation](#installation) 25 | * [Understanding Solarized Colors in Terminals](#understanding-solarized-colors-in-terminals) 26 | * [Angry Flashing Tab Complete Fix](#angry-flashing-tab-complete-fix) 27 | 28 |

Repositories

29 | 30 | * The main Solarized repository: [/altercation/solarized](https://github.com/altercation/solarized) 31 | * These themes as a separate repository: [/seebi/dircolors-solarized](https://github.com/seebi/dircolors-solarized) 32 | 33 |

Themes

34 | 35 | First, note that "256 colors" does not necessarily mean better than "ANSI". 36 | Read on for more details. 37 | 38 | 1. "256dark" - Degraded Solarized Dark theme for terminal emulators and 39 | newer dircolors that both support 256 colors. This theme allows for the display 40 | of the *approximate* Solarized palette, but it's very easy to set up and allows 41 | for the use of many more colors beyond the 16 in Solarized. 42 | (By [seebi](https://github.com/seebi)) 43 | 44 | Note: In the future, it may be possible to change the approximate 45 | Solarized colors to the exact Solarized palette; and this theme would 46 | automatically improve. Work on an appropriate .Xresources has not yet 47 | started. (See [256-color remapping discussion](https://github.com/altercation/solarized/issues/8).) 48 | 49 | 2. "ansi-universal" - Universal theme for 16-color or 256-color 50 | terminal emulators and any version of dircolors. It is optimized for 51 | Solarized Dark and Light and acceptable with default ANSI colors. This theme allows 52 | for the display of the *exact* Solarized palette, but it requires the reconfiguration 53 | of the terminal emulator's ANSI color settings and limits you to the 16 54 | Solarized colors. (By [huyz](https://github.com/huyz)) 55 | 56 | "ansi-dark" - Tweaked version of "ansi-universal", slightly more 57 | optimized for the Solarized Dark palette to the slight detriment of the 58 | Solarized Light palette. 59 | 60 | "ansi-light" - Tweaked version of "ansi-universal", slightly more 61 | optimized for the Solarized Light palette to the slight detriment of the 62 | Solarized Dark palette. 63 | 64 |

Theme #1: "256dark" (by seebi)

65 | 66 |

Features / Properties

67 | 68 | * Solarized :-) 69 | * Comment style for backup and log and cache files 70 | * Highlighted style for files of special interest (.tex, Makefiles, .ini ...) 71 | * Bold hierarchies: 72 | * archive = violet, compressed archive = violet + bold 73 | * audio = orange, video = orange + bold 74 | * Tested use-cases: 75 | * latex directories 76 | * source code directories 77 | * Special files (block devices, pipes, ...) are inverted using the 78 | solarized light palette for the background 79 | * Symbolic links bold and distinguishable from directories 80 | 81 |

Screenshots

82 | 83 | Here is a [screenshot](https://github.com/seebi/dircolors-solarized/raw/master/img/dircolors.256dark.png) of a prepared session which shows the content of the test-directory.tar.bz2. 84 | It is captured from an [iterm2](http://iterm2.com/) using the [dz-version of the awesome Inconsolata font](http://nodnod.net/2009/feb/12/adding-straight-single-and-double-quotes-inconsola/) (but you can use any terminal emulator supporting 256colors). 85 | 86 | ![session](https://github.com/seebi/dircolors-solarized/raw/master/img/dircolors.256dark.png) 87 | 88 | Some more screenshots are provided by [andrew from webupd8.org](http://www.webupd8.org/2011/04/solarized-must-have-color-paletter-for.html). 89 | 90 |

Theme #2: "ansi-\*" (by huyz)

91 | 92 | This theme and its variants require that the terminal emulator be properly 93 | configured to display the Solarized palette instead of the 16 default ANSI 94 | colors. 95 | 96 |

Features / Properties

97 | 98 | This theme called "ansi-universal" and its variants "ansi-dark" and 99 | "ansi-light", were designed to work best with both Solarized Dark and Light 100 | palettes, but also to work under terminals' default ANSI colors. In other 101 | words, these themes were designed with a "fallback" scenario: if you happen to 102 | find yourself on a terminal where the Solarized palette has not been set up, 103 | you won't have elements become invisible, incrediby hard to read, or a boring 104 | gray. 105 | 106 | Thus, the universal theme was designed with these 4 palettes in mind: 107 | 108 | - Solarized Dark: "ansi-universal" works best when the terminal emulator is 109 | set to this scheme 110 | - Solarized Light: "ansi-universal" works best when the terminal emulator is 111 | set to this scheme 112 | - Default terminal ANSI Colors with a dark background 113 | - Default terminal ANSI Colors with a light background 114 | 115 | The "ansi-dark" and "ansi-light" are slightly optimized versions of "ansi-universal" 116 | for Solarized Dark and Solarized Light, respectively, if you're willing 117 | to sacrifice a bit of universality. 118 | 119 | Colors were selected based on the characteristics of the items to be displayed: 120 | 121 | - Visibility generally follows importance, with an attempt to let unimportant 122 | items fade into the background (which is not always possible when 123 | simultaneously supporting dark and light backgrounds) 124 | - Loud colors are chosen to call attention to noteworthy items 125 | 126 |

Screenshots

127 | 128 | Solarized Dark (this example uses iTerm2 on OS X): 129 | 130 | ![Solarized Dark](https://github.com/huyz/dircolors-solarized/raw/master/img/screen-dircolors-in-iTerm2-solarized_dark.png) 131 | 132 | To see what this theme looks like when the terminal emulator is set with different color palettes: 133 | 134 | * [Solarized Light (with iTerm2 on OS X)](https://github.com/huyz/dircolors-solarized/raw/master/img/screen-dircolors-in-iTerm2-solarized_light.png) 135 | * [Default dark background of iTerm on OS X](https://github.com/huyz/dircolors-solarized/raw/master/img/screen-dircolors-in-iTerm-dark.png) 136 | * [Default light background of iTerm on OS X](https://github.com/huyz/dircolors-solarized/raw/master/img/screen-dircolors-in-iTerm-light.png) 137 | * [Default dark colors of PuTTY on Windows](https://github.com/huyz/dircolors-solarized/raw/master/img/screen-dircolors-in-PuTTY-dark_default.png) 138 | * [Default light colors of PuTTY on Windows](https://github.com/huyz/dircolors-solarized/raw/master/img/screen-dircolors-in-PuTTY-light_system.png) (Select "Use system colors") 139 | 140 | 141 |

Installation

142 | 143 | ### Downloads 144 | 145 | If you have come across these themes via the [dircolors-only repository] on 146 | github, you may want to check the main [Solarized repository] to see if there 147 | are official themes. 148 | 149 | In the future, the [dircolors-only repository] may be kept in sync with the main 150 | [Solarized repository], but the [dircolors-only repository] may be left separate 151 | for installation convenience and to include the latest improvements. 152 | 153 | At this time, issues, bug reports, changelogs are to be reported at the 154 | [dircolors-only repository]. 155 | 156 | If you want to access the latest improvements to a specific theme, then go to 157 | that theme's unique github directory: 158 | 159 | * "256dark": https://github.com/seebi/dircolors-solarized 160 | * "ansi-\*": https://github.com/huyz/dircolors-solarized 161 | 162 | [Solarized repository]: https://github.com/altercation/solarized 163 | [dircolors-only repository]: https://github.com/seebi/dircolors-solarized 164 | 165 | ### General Instructions 166 | 167 | The Solarized color themes are distributed as database files for GNU 168 | dircolors, which is the application that sets up colors for GNU ls. 169 | To use any of the database files, run this: 170 | 171 | eval `dircolors /path/to/dircolorsdb` 172 | 173 | To activate the theme for all future shell sessions, copy or link that file to 174 | `~/.dir_colors`, and include the above command in your `~/.profile` (for bash) 175 | or `~/.zshrc` (for zsh). 176 | 177 | For Ubuntu 14.04 it is sufficient to copy or link database file to `~/.dircolors`. 178 | Statement in `~/.bashrc` will take care about triggering eval command. 179 | 180 | ### Additional Instructions for 256-color Solarized Themes, e.g. "256dark" 181 | 182 | For the 256-color Solarized dircolors themes, such as "256dark", you need a 256-color 183 | terminal (e.g. `gnome-terminal` or `urxvt`) and a correct `TERM` variable, 184 | e.g.: 185 | 186 | export TERM=xterm-256color # for common 256 color terminals (e.g. gnome-terminal) 187 | export TERM=screen-256color # for a tmux -2 session (also for screen) 188 | export TERM=rxvt-unicode-256color # for a colorful rxvt unicode session 189 | 190 | ### Additional Instructions for ANSI Solarized Themes, e.g. "ansi-universal" 191 | 192 | For the ANSI Solarized dircolors themes (which work with both 16-color and 193 | 256-color terminals) you must configure your terminal emulator (See the 194 | section "Understanding Solarized Colors in Terminals" for a detailed 195 | explanation behind these settings): 196 | 197 | 1. Make sure that you have changed your terminal emulator's color settings to 198 | the Solarized palette. 199 | 200 | 2. Make sure that bold text is displayed using bright colors. For example, 201 | - For iTerm2 on OS X, this means that Text Preferences must have the `Draw 202 | bold text in bright colors` checkbox *selected*. 203 | - For Apple's Terminal.app on OS X, this means that Text Settings must 204 | have the `Use bright colors for bold text` checkbox *selected*. 205 | 206 | 3. It's recommended to turn off the display of bold typeface for bold 207 | text. For example, 208 | - For iTerm2 on OS X, this means that Text Preferences should have the 209 | `Draw bold text in bold font` checkbox *unselected*. 210 | - For Apple's Terminal.app on OS X, this means that Text Settings 211 | should have the `Use bold fonts` checkbox *unselected*. 212 | - For XTerm, this may mean setting the `font` and `boldFont` to be the 213 | same in your .Xresources or .Xdefaults, e.g.: 214 | 215 | xterm*font: fixed 216 | xterm*boldFont: fixed 217 | 218 | Example: for iTerm2, these are the correct settings: 219 | 220 | ![iTerm bold settings](https://github.com/huyz/dircolors-solarized/raw/master/img/screen-iTerm2-bold-options.png) 221 | 222 | 223 |

Understanding Solarized Colors in Terminals

224 | 225 | ### How Solarized works with ANSI-redefinition themes 226 | 227 | 8- or 256-color terminal programs such as dircolors use color codes that 228 | correspond to the expected 8 normal ANSI colors. dircolors additionally 229 | supports bold, which terminal emulators will usually display by using the 230 | *bright* versions of the 8 ANSI colors and/or by using a bold typeface with a 231 | heavier weight. (Note that different terminal emulators may have slightly 232 | different ideas of what color values to use when displaying the 16 [ANSI color 233 | escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code#Colors).) 234 | 235 | In order to be displayed by 8- or 256-color terminal programs, which cannot 236 | specify RGB values, Solarized must replace the default ANSI colors. Since the 237 | Solarized palette uses 16 colors, not only must this color scheme replace the 238 | 8 normal colors but must also take over the 8 *bright* colors, for a total of 239 | 16 colors. This means that a Solarized terminal application loses the ability 240 | to bold text but gains 8 more Solarized colors. 241 | 242 | About half of the Solarized palette is reminiscent of the original ANSI 243 | colors, e.g. Solarized red is close to ANSI red (or more precisely, the 244 | general consensus of what ANSI red should look like). But the rest of the 245 | Solarized colors do not correspond to any ANSI colors, e.g. there is no ANSI 246 | color that corresponds to Solarized orange or purple. 247 | 248 | This means that, for example, if the dircolors theme wants to display "green", a 249 | Solarized terminal will display something close to green, but if the theme 250 | wants to display "bold yellow" or "bright yellow", a Solarized terminal will 251 | not be able to display it. However, a Solarized theme will be able to display 252 | the new colors orange and purple and also several shades of gray. This is 253 | again thanks to the replacement of the ANSI *bright* colors; e.g. ANSI "bold 254 | red", which is usually displayed as "bright red", will now show as Solarized 255 | orange, while ANSI "bold blue", which is usually displayed as "bright blue", 256 | will now be a shade of gray. 257 | 258 | #### Terminal Emulator 259 | 260 | Because dircolors is entirely dependent on the terminal emulator for the 261 | display of its colors, you cannot directly tell a dircolors theme to display 262 | Solarized orange, e.g. by specifying an RGB value. Instead, the theme's colors 263 | must be chosen using the available color codes (either ANSI or one of the 256 264 | XTerm colors) with the expectation that the terminal emulator will display 265 | them as appropriate Solarized colors. For example, the dircolors color 266 | format `01;31` which normally would be "bold red" is expected to be displayed 267 | by the terminal emulator as Solarized orange. 268 | 269 | So in order for dircolors to display the *exact* Solarized palette, you have 270 | to set your Terminal emulator's color settings to the Solarized palette. The 271 | [Solarized repository] includes theme settings for some popular terminal 272 | emulators as well as Xresources; or you can download them from the official 273 | [Solarized] homepage. If you use the 16-color themes *without* having 274 | changed your emulator's palette, you will get a strange selection of colors 275 | that may be hard to read or gray. 276 | 277 | Yes, this means that, to use the *exact* Solarized theme for dircolors, you 278 | need to change color settings for not one but two different programs: your 279 | terminal emulator and dircolors. The two sets of settings will work in 280 | concert to display Solarized colors appropriately. 281 | 282 | #### Bold Settings 283 | 284 | Historically, there has been a one-to-one correspondence between the bolded 285 | versions of the 8 default ANSI colors and the bright versions of the 8 default 286 | colors. Back in the day, when a color program demanded the display of bold 287 | text, it was probably just easier for terminal emulators to display a brighter 288 | version of whatever color the text was (and expect the user to interpret that 289 | as bold) than to display a typeface with a bold weight. 290 | 291 | Nowadays, it is easy for terminal emulators to display bold typefaces, so it 292 | doesn't make sense for bolded text to change color, but the confusing 293 | association remains. In fact, new terminal emulators allow users to break the 294 | correspondence between bold and bright and can simply change the font. 295 | 296 | However, ANSI terminal applications such as older dircolors only 297 | have a conception of bold and don't know about the possibility of using up to 298 | 16 colors. So to use all 16 Solarized colors, we change the semantics of 299 | "bold" in the theme to mean that we want to access the 8 new Solarized colors, 300 | including the grays. Recall the example above, where we described that the 301 | dirco color format `01;31`, which would have normally displayed bold red, is 302 | expected to show up as Solarized orange. 303 | 304 | This is why it is important to *not* break the association between bold and 305 | bright colors. Many terminal emulators offer an option to disable the use of 306 | bright colors for bold, and you must not do so. Often, new users of Solarized 307 | will be confused when they change their terminal emulator's color palette to 308 | Solarized but haven't yet installed Solarized-specific color themes for all 309 | their terminal applications (e.g. mutt, ls's dircolors, irssi, and their 310 | colorized shell prompts). They will see texts that are hard to read or 311 | disappear entirely. The solution isn't to disable bright colors; the solution 312 | is to install Solarized color themes for all terminal applications and then you 313 | will have all 16 colors. 314 | 315 | Also, because the semantics of "bold" are lost in favor of more colors, it 316 | also makes sense to disable the display of bold text as a bold typeface. It 317 | won't hurt to see bold typefaces wherever the new 8 Solarized colors are 318 | displayed but it doesn't make much sense anymore. 319 | 320 | ### How Solarized works with 256-color themes 321 | 322 | Newer versions of dircolors, as well as modern terminal emulators, support 256 323 | colors. Since 256 > 16, does this mean that 256-color dircolors themes are 324 | better than ANSI dircolors themes for displaying the Solarized palette? Not 325 | necessarily. Solarized is a 16-color palette with unique RGB values. 326 | 256-color terminal emulators have more colors than the ANSI palette but 327 | completely different RGB values. (See [8-bit color 328 | graphics](http://en.wikipedia.org/wiki/256_colors).) The "256dark" 329 | theme was designed to use these standard fixed colors. 330 | 331 | #### How Solarized could work with 256 colors without touching ANSI 332 | 333 | There is ongoing 334 | [discussion](https://github.com/altercation/solarized/issues/8) on how to 335 | reconfigure the approximate Solarized colors (the default 256 XTerm colors) to 336 | display the exact Solarized colors. The benefit of this approach is that the 337 | ANSI colors would not be messed with, and all the existing terminal 338 | applications (with non-Solarized-aware color themes) that expect ANSI colors 339 | would get ANSI colors; i.e. you would not see text accidentally disappear or 340 | turn gray on you as soon as you change your terminal emulator's ANSI color 341 | settings to Solarized. 342 | 343 | The disadvantage of such a solution means that 8-color terminal applications 344 | such as irssi or older dircolors would not be able to display Solarized 345 | colors, no matter what theme they used. 346 | 347 | Work on an official solution has not yet started but the 348 | [discussion](https://github.com/altercation/solarized/issues/8) has presented 349 | some working solutions, at least for XTerm and possibly other Linux terminal 350 | emulators. 351 | 352 | 353 | The Solarized Color Values 354 | -------------------------- 355 | 356 | L\*a\*b values are canonical (White D65, Reference D50), other values are 357 | matched in sRGB space. 358 | 359 | 360 | SOLARIZED HEX 16/8 TERMCOL XTERM/HEX L*A*B sRGB HSB 361 | --------- ------- ---- ------- ----------- ---------- ----------- ----------- 362 | base03 #002b36 8/4 brblack 234 #1c1c1c 15 -12 -12 0 43 54 193 100 21 363 | base02 #073642 0/4 black 235 #262626 20 -12 -12 7 54 66 192 90 26 364 | base01 #586e75 10/7 brgreen 240 #4e4e4e 45 -07 -07 88 110 117 194 25 46 365 | base00 #657b83 11/7 bryellow 241 #585858 50 -07 -07 101 123 131 195 23 51 366 | base0 #839496 12/6 brblue 244 #808080 60 -06 -03 131 148 150 186 13 59 367 | base1 #93a1a1 14/4 brcyan 245 #8a8a8a 65 -05 -02 147 161 161 180 9 63 368 | base2 #eee8d5 7/7 white 254 #d7d7af 92 -00 10 238 232 213 44 11 93 369 | base3 #fdf6e3 15/7 brwhite 230 #ffffd7 97 00 10 253 246 227 44 10 99 370 | yellow #b58900 3/3 yellow 136 #af8700 60 10 65 181 137 0 45 100 71 371 | orange #cb4b16 9/3 brred 166 #d75f00 50 50 55 203 75 22 18 89 80 372 | red #dc322f 1/1 red 160 #d70000 50 65 45 220 50 47 1 79 86 373 | magenta #d33682 5/5 magenta 125 #af005f 50 65 -05 211 54 130 331 74 83 374 | violet #6c71c4 13/5 brmagenta 61 #5f5faf 50 15 -45 108 113 196 237 45 77 375 | blue #268bd2 4/4 blue 33 #0087ff 55 -10 -45 38 139 210 205 82 82 376 | cyan #2aa198 6/6 cyan 37 #00afaf 60 -35 -05 42 161 152 175 74 63 377 | green #859900 2/2 green 64 #5f8700 60 -20 65 133 153 0 68 100 60 378 | 379 | NOTE: 380 | 381 | * For "256-color" themes, the XTERM/HEX column lists the approximate Solarized 382 | colors that are used (note the RGB values in the XTERM/HEX column only 383 | approximates the RGB values in the HEX column). 384 | * For "ANSI" themes, the TERMCOL column lists the ANSI colors that are replaced 385 | with the Solarized colors listed under the HEX column. 386 | 387 | 388 |

Angry Flashing Tab Complete Fix

389 | If you have a tab complete in e.g. Python which is hard to read because it's flashing (and uses a red background), such as at 390 | 391 | https://asciinema.org/a/A1wIPeDTmoSq8NOoPJQ0kgTvm 392 | 393 | The problem is fundamentally the default python/readline tab completion highlights files, and most missing python things aren't existing files (you can test this by creating a file say `__doc__` and hitting tab). 394 | 395 | You can fix this with the following inputrc 396 | 397 | ``` 398 | $if python 399 | set colored-stats off 400 | $endif 401 | ``` 402 | 403 | See 404 | https://unix.stackexchange.com/questions/605166/why-does-setting-mi-in-ls-colors-effect-postgresql-and-python-tab-completion 405 | --------------------------------------------------------------------------------