File: colors.adoc

package info (click to toggle)
util-linux 2.41.3-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 93,048 kB
  • sloc: ansic: 179,151; sh: 22,703; yacc: 1,284; makefile: 527; xml: 422; python: 316; lex: 89; ruby: 75; csh: 37; exp: 19; sed: 16; perl: 15; sql: 9
file content (20 lines) | stat: -rw-r--r-- 704 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
== COLORS

The output colorization is implemented by *terminal-colors.d*(5) functionality.
Implicit coloring can be disabled by an empty file
____
_/etc/terminal-colors.d/{command}.disable_
____
for the *{command}* command or for all tools by
____
_/etc/terminal-colors.d/disable_
____
Since version 2.41, the $NO_COLOR environment variable is also supported to
disable output colorization unless explicitly enabled by a command-line option.

The user-specific _$XDG_CONFIG_HOME/terminal-colors.d_
or _$HOME/.config/terminal-colors.d_ overrides the global setting. 

Note that the output colorization may be enabled by default, and in this case
_terminal-colors.d_ directories do not have to exist yet.