# This file is modified to work on a black background terminal # It will generate the below env variable, you can just use it instead in case # dircolors is not installed. Save it as your ~/.dircolors file if it is. # LS_COLORS='rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=33;01:cd=33;01:or=31;01:mi=00:su=31;01:sg=31;01:ca=31;01:tw=31;01:ow=31;01:st=35;01:ex=01;32:'; # Below are TERM entries, which can be a glob patterns, to match # against the TERM environment variable to determine if it is colorizable. TERM xterm* # Below are the color init strings for the basic file types. A color init # string consists of one or more of the following numeric codes: # 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 #NORMAL 00 # no color code at all #FILE 00 # regular file: use no color at all RESET 0 # reset to "normal" color DIR 01;34 # directory LINK 01;36 # symbolic link. (If you set this to 'target' instead of a # numerical value, the color is as for the file pointed to.) MULTIHARDLINK 00 # regular file with more than one link FIFO 40;33 # pipe SOCK 01;35 # socket DOOR 01;35 # door BLK 33;01 # block device driver CHR 33;01 # character device driver ORPHAN 31;01 # symlink to nonexistent file, or non-stat'able file ... MISSING 00 # ... and the files they point to SETUID 31;01 # file that is setuid (u+s) SETGID 31;01 # file that is setgid (g+s) CAPABILITY 31;01 # file with capability STICKY_OTHER_WRITABLE 31;01 # dir that is sticky and other-writable (+t,o+w) OTHER_WRITABLE 31;01 # dir that is other-writable (o+w) and not sticky STICKY 35;01 # dir with the sticky bit set (+t) and not other-writable # This is for files with execute permission: EXEC 01;32 # List any file extensions like '.gz' or '.tar' that you would like ls # to colorize below. Put the extension, a space, and the color init string. # (and any comments you want to add after a '#') # If you use DOS-style suffixes, you may want to uncomment the following: #.cmd 01;32 # executables (bright green)