2 N.2. Configuring the Colors #
4 The actual colors to be used are configured using the environment
5 variable PG_COLORS (note plural). The value is a colon-separated list
6 of key=value pairs. The keys specify what the color is to be used for.
7 The values are SGR (Select Graphic Rendition) specifications, which are
8 interpreted by the terminal.
10 The following keys are currently in use:
13 used to highlight the text “error” in error messages
16 used to highlight the text “warning” in warning messages
19 used to highlight the text “detail” and “hint” in such messages
22 used to highlight location information (e.g., program name and
23 file name) in messages
25 The default value is error=01;31:warning=01;35:note=01;36:locus=01
26 (01;31 = bold red, 01;35 = bold magenta, 01;36 = bold cyan, 01 = bold
31 This color specification format is also used by other software packages
32 such as GCC, GNU coreutils, and GNU grep.