You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: aider/website/docs/config/aider_conf.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,14 +6,15 @@ description: How to configure aider with a YAML config file.
6
6
7
7
# YAML config file
8
8
9
-
Most of aider's options can be set in an `.aider.conf.yml` file.
10
-
Aider will look for a this file in these locations:
9
+
Most of aider's options can be set in a YAML config file.
10
+
Aider will look for config files in these locations:
11
11
12
-
- Your home directory.
13
-
- The root of your git repo.
14
-
- The current directory.
12
+
- Your home directory (`~/.aider.conf.yml`).
13
+
- Your XDG config home in `$XDG_CONFIG_HOME/aider/`. Aider will look for `conf.yml` and `.aider.conf.yml`. If `$XDG_CONFIG_HOME` is not set, it defaults to `~/.config`.
14
+
- The root of your git repo (`.aider.conf.yml`).
15
+
- The current directory (`.aider.conf.yml`).
15
16
16
-
If the files above exist, they will be loaded in that order. Files loaded last will take priority.
17
+
If the files above exist, they will be loaded in that order. Settings from files loaded later take priority.
17
18
18
19
You can also specify the `--config <filename>` parameter, which will only load the one config file.
0 commit comments