mirror of
https://github.com/tealdeer-rs/tealdeer.git
synced 2026-08-23 00:24:17 +02:00
Add docs
This commit is contained in:
parent
e7f5ca042b
commit
9ceeefe5c2
1 changed files with 13 additions and 0 deletions
|
|
@ -57,3 +57,16 @@ auto_update = true
|
|||
The directory where the configuration file resides may be overwritten by the
|
||||
environment variable `TEALDEER_CONFIG_DIR`. Remember to use an absolute path.
|
||||
Variable expansion will not be performed on the path.
|
||||
|
||||
## Override Config Values
|
||||
|
||||
Individual config values can be overridden using the `--override-config` command
|
||||
line argument. The overrides take place after reading the user config file, but
|
||||
before the raw config is evaluated.
|
||||
|
||||
```shell
|
||||
$ tldr --override-config "display.compact = true" tealdeer
|
||||
```
|
||||
|
||||
Each override is of the form `<name> = <value>` where `name` is a config key and
|
||||
`value` is any TOML value.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue