Expand description
Provides color handling for ls and other utilities.
Staticsยง
- FILE_
ATTRIBUTE_ CODES - Below are the terminal color capabilities
- FILE_
COLORS - Colors for file types
- FILE_
TYPES - Below are the color init strings for the basic file types. One can use codes for 256 or more colors supported by modern terminals. The default color codes use the capabilities of an 8 color terminal with some additional attributes as per the following 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
- TERMS
- The keywords COLOR, OPTIONS, and EIGHTBIT (honored by the slackware version of dircolors) are recognized but ignored. Global config options can be specified before TERM or COLORTERM entries below are TERM or COLORTERM entries, which can be glob patterns, which restrict following config to systems with matching environment variables.