Settings
lets settings control the behavior of lets itself.
Use settings for things like colored output, theming, 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.
Print the path:
lets self config path
Open the file in $EDITOR:
lets self config edit
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
theme
Choose the theme for lets styled help and error output.
Supported values:
defaultansisynthwave
Example:
theme: synthwave
Environment override:
- none
Default:
theme: default
Notes:
- this affects
letsoutput itself - project commands still control their own colors
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: false
theme: default
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.