config use-colors
For env.
Get the configuration for color output.
Command Type
built-in
Signature
> config use-colors {flags}
Input/output types:
| input | output |
|---|---|
| nothing | bool |
Notes
Use this command instead of checking $env.config.use_ansi_coloring to properly handle the “auto” setting, including environment variables that influence its behavior.
Ported from nushell/nushell.github.io. Copyright (c) 2021 Nushell Project. MIT License.