Settings
lets settings control the behavior of lets itself.
Use settings for things like colored output or update notifications. Do not use this file for project commands or runtime env. Project behavior still belongs in lets.yaml.
Settings file location
lets reads settings from:
~/.config/lets/config.yaml
This file is per-user and applies to all projects on the machine.
Precedence
Settings are resolved in this order:
- environment variables
- settings file
- built-in defaults
This means env vars always win over config.yaml.
Supported settings
no_color
Disable colored output from lets.
Example:
no_color: true
Environment override:
NO_COLORdisables colors even ifno_coloris not set
Note:
- this affects
letsoutput itself - it does not inject
NO_COLORinto commands fromlets.yaml
upgrade_notify
Enable or disable background update notifications for interactive sessions.
Example:
upgrade_notify: false
Environment override:
LETS_CHECK_UPDATEdisables update checks and notifications regardless of the settings file
Default:
upgrade_notify: true
Example
no_color: true
upgrade_notify: false
Invalid settings
Unknown keys and invalid YAML cause lets startup to fail with an error. Keep this file limited to supported settings only.