From 7016587bc646cd2029ca5b98698fadc7988afd56 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 27 Jun 2024 10:38:15 -0700 Subject: [PATCH] copy --- website/docs/config.md | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/website/docs/config.md b/website/docs/config.md index dca28da0f..1aeb6e975 100644 --- a/website/docs/config.md +++ b/website/docs/config.md @@ -11,24 +11,31 @@ command line switches. 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 your git repo. -Or via environment variables like `AIDER_xxx`, -as noted in the [options reference](/docs/config/options.html). +Or by setting environment variables like `AIDER_xxx` +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 ``` -Or, via an env variable: - -``` -export AIDER_DARK_MODE=true -``` - -Or in the `.aider.conf.yml` file: +Using a `.aider.conf.yml` file: ```yaml dark-mode: true ``` +By setting an environgment variable: + +``` +export AIDER_DARK_MODE=true +``` + +Using an `.env` file: + +``` +AIDER_DARK_MODE=true +```