mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-03 19:24:59 +00:00
copy
This commit is contained in:
parent
fa7255cbf5
commit
7016587bc6
1 changed files with 17 additions and 10 deletions
|
@ -11,24 +11,31 @@ command line switches.
|
||||||
Most options can also be set in an `.aider.conf.yml` file
|
Most options can also be set in an `.aider.conf.yml` file
|
||||||
which can be placed in your home directory or at the root of
|
which can be placed in your home directory or at the root of
|
||||||
your git repo.
|
your git repo.
|
||||||
Or via environment variables like `AIDER_xxx`,
|
Or by setting environment variables like `AIDER_xxx`
|
||||||
as noted in the [options reference](/docs/config/options.html).
|
either in your shell or a `.env` file.
|
||||||
|
|
||||||
Here are 3 equivalent ways of setting an option. First, via a command line switch:
|
Here are 4 equivalent ways of setting an option.
|
||||||
|
|
||||||
|
With a command line switch:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ aider --dark-mode
|
$ aider --dark-mode
|
||||||
```
|
```
|
||||||
|
|
||||||
Or, via an env variable:
|
Using a `.aider.conf.yml` file:
|
||||||
|
|
||||||
```
|
|
||||||
export AIDER_DARK_MODE=true
|
|
||||||
```
|
|
||||||
|
|
||||||
Or in the `.aider.conf.yml` file:
|
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
dark-mode: true
|
dark-mode: true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
By setting an environgment variable:
|
||||||
|
|
||||||
|
```
|
||||||
|
export AIDER_DARK_MODE=true
|
||||||
|
```
|
||||||
|
|
||||||
|
Using an `.env` file:
|
||||||
|
|
||||||
|
```
|
||||||
|
AIDER_DARK_MODE=true
|
||||||
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue