Skip to content

Instantly share code, notes, and snippets.

@ajgappmark
Created March 21, 2024 11:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajgappmark/b9dc3f8edf322b607c43a42f97347e5b to your computer and use it in GitHub Desktop.
Save ajgappmark/b9dc3f8edf322b607c43a42f97347e5b to your computer and use it in GitHub Desktop.
dircolors
# Zenburn color theme for the color GNU ls utility.
# Term Section
TERM Eterm
TERM ansi
TERM color-xterm
TERM con132x25
TERM con132x30
TERM con132x43
TERM con132x60
TERM con80x25
TERM con80x28
TERM con80x30
TERM con80x43
TERM con80x50
TERM con80x60
TERM cons25
TERM console
TERM cygwin
TERM dtterm
TERM eterm-color
TERM gnome
TERM gnome-256color
TERM jfbterm
TERM konsole
TERM kterm
TERM linux
TERM linux-c
TERM mach-color
TERM mlterm
TERM putty
TERM rxvt
TERM rxvt-256color
TERM rxvt-cygwin
TERM rxvt-cygwin-native
TERM rxvt-unicode
TERM rxvt-unicode256
TERM rxvt-unicode-256color
TERM screen
TERM screen-256color
TERM screen-256color-bce
TERM screen-bce
TERM screen-w
TERM screen.linux
TERM st
TERM st-meta
TERM st-256color
TERM st-meta-256color
TERM vt100
TERM xterm
TERM xterm-16color
TERM xterm-256color
TERM xterm-88color
TERM xterm-color
TERM xterm-debian
TERM xterm-termite
## Documentation
#
# Attribute codes:
# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
# Text color codes:
# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
# Background color codes:
# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
#
# Text 256 color coding:
# 38;5;COLOR_NUMBER
# Background 256 color coding:
# 48;5;COLOR_NUMBER
# block device driver:
BLK 48;5;108;38;5;69;01
# file with capability:
CAPABILITY 01;38;5;95
# character device driver:
CHR 48;5;108;38;5;69;01
# directory:
DIR 01;38;5;99
# door:
DOOR 48;5;234;38;5;180;01
# This is for files with execute permission:
EXEC 01;38;5;76
# pipe:
FIFO 48;5;234;38;5;180;01
# regular file:
#FILE 00
# symbolic link:
LINK 01;38;5;86
# normal (nonfilename) text:
#NORMAL 00
# orphaned symbolic link:
ORPHAN 48;5;234;38;5;160
# directory that is other-writable (o+w) and not sticky:
OTHER_WRITABLE 48;5;234;38;5;180
# file that is setuid (u+s):
SETUID 48;5;234;38;5;66
# file that is setgid (g+s):
SETGID 48;5;234;38;5;66
# socket:
SOCK 48;5;234;38;5;180;01
# directory with the sticky bit set (+t) and not other-writable:
STICKY 48;5;180;38;5;234
# dir that is sticky and other-writable (+t,o+w):
STICKY_OTHER_WRITABLE 48;5;180;38;5;234
# archives
.7z 01;38;5;161
.arj 01;38;5;161
.bz2 01;38;5;161
.bz 01;38;5;161
.gz 01;38;5;161
.rar 01;38;5;161
.tar 01;38;5;161
.tgz 01;38;5;161
.tbz 01;38;5;161
.tbz2 01;38;5;161
.xz 01;38;5;161
.zip 01;38;5;161
# packaged apps
.apk 01;38;5;95
.deb 01;38;5;161
.jad 01;38;5;95
.jar 01;38;5;95
.rpm 01;38;5;161
# images|graphics
.bmp 00;38;5;109
.gif 00;38;5;109
.ico 00;38;5;109
.jpg 00;38;5;109
.JPG 00;38;5;109
.jpeg 00;38;5;109
.png 00;38;5;109
.svg 00;38;5;109
.xbm 00;38;5;109
.xpm 00;38;5;109
# audio formats
.aac 00;38;5;116
.au 00;38;5;116
.flac 00;38;5;116
.mid 00;38;5;116
.midi 00;38;5;116
.mka 00;38;5;116
.mp3 00;38;5;116
.mpc 00;38;5;116
.ogg 00;38;5;116
.ra 00;38;5;116
.wav 00;38;5;116
# video formats
.mov 00;38;5;66
.mpg 00;38;5;66
.mpeg 00;38;5;66
.m2v 00;38;5;66
.mkv 00;38;5;66
.ogm 00;38;5;66
.mp4 00;38;5;66
.m4v 00;38;5;66
.mp4v 00;38;5;66
.vob 00;38;5;66
.qt 00;38;5;66
.nuv 00;38;5;66
.wmv 00;38;5;66
.asf 00;38;5;66
.rm 00;38;5;66
.rmvb 01;38;5;66
.flc 00;38;5;66
.avi 00;38;5;66
.fli 00;38;5;66
.flv 00;38;5;66
.gl 00;38;5;66
.m2ts 00;38;5;66
.divx 00;38;5;66
.webm 00;38;5;66
# shell
.awk 00;38;5;142
.bash 00;38;5;142
.bat 00;38;5;142
.BAT 00;38;5;142
.sed 00;38;5;142
.sh 00;38;5;142
.zsh 00;38;5;142
.R 00;38;5;142
# build
*CMakeLists.txt 00;38;5;179
.cabal 00;38;5;179
*Makefile 00;38;5;179
.mk 00;38;5;179
.make 00;38;5;179
*Rakefile 00;38;5;179
.rake 00;38;5;179
# source files
.c 00;38;5;66
.cc 00;38;5;66
.cpp 00;38;5;66
.cu 00;38;5;66
.h 00;38;5;142
.hpp 00;38;5;142
.cuh 00;38;5;142
.cs 00;38;5;190
.java 00;38;5;190
.scala 48;5;234;38;5;133
.hs 48;5;234;38;5;133
.py 00;38;5;12
.rb 00;38;5;124
.php 00;38;5;5
.pl 48;5;234;38;5;133
.vim 48;5;234;38;5;133
.js 00;38;5;3
.coffee 48;5;234;38;5;133
.go 00;38;5;12
.lisp 48;5;234;38;5;133
.scm 48;5;234;38;5;133
# asm
.s 00;38;5;182
.asm 00;38;5;182
# documents
#.txt 00;38;5;245
.tex 00;38;5;186
.html 00;38;5;186
.xhtml 00;38;5;186
.xml 00;38;5;186
#.md 00;38;5;217
#.mkd 00;38;5;217
#.markdown 00;38;5;217
.org 00;38;5;186
.pandoc 00;38;5;186
.pdc 00;38;5;186
.pdf 00;38;5;202
# Files of special interest
*rc 00;38;5;180
.conf 00;38;5;180
*Dockerfile 00;38;5;180
.json 00;38;5;186
.dot 00;38;5;186
.dll 00;38;5;134
.exe 00;38;5;148
# meta
*README 00;38;5;217
*LICENSE 00;38;5;248
*AUTHORS 00;38;5;248
# version control
.gitignore 00;38;5;248
.gitmodules 00;38;5;248
# logs and backups
.log 00;38;5;243
.bak 00;38;5;243
.aux 00;38;5;243
.toc 00;38;5;243
.swp 00;38;5;243
.tmp 00;38;5;243
.temp 00;38;5;243
.o 00;38;5;243
.pyc 00;38;5;240
.class 00;38;5;240
.cache 00;38;5;240
# temp files
*~ 00;38;5;243
*# 00;38;5;243
# pacman files
.pacnew 48;5;95;38;5;108
.pacsave 48;5;95;38;5;108
.pacorig 48;5;95;38;5;108
*PKGBUILD 00;38;5;110
# rpm files
.rpmsave 48;5;95;38;5;108
.rpmorig 48;5;95;38;5;108
.rpmnew 48;5;95;38;5;108
.spec 00;38;5;110
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment