Skip to content

feat(config): support config.d/ directory for split configuration - #9061

Closed
ferdinandyb wants to merge 1 commit into
anomalyco:devfrom
ferdinandyb:multiple-configs
Closed

ferdinandyb wants to merge 1 commit into
anomalyco:devfrom
ferdinandyb:multiple-configs

Conversation

@ferdinandyb

@ferdinandyb ferdinandyb commented Jan 17, 2026 •

Copy link
Copy Markdown
Contributor

Allow users to organize configuration into multiple files within a config.d/ directory. Files are loaded alphabetically and merged after the main config file, making it easier to manage modular config setups (e.g., separate files for permissions, plugins, theming).

Supports both ~/.config/opencode/config.d/ (global) and .opencode/config.d/ (project-specific) locations.

How did you verify your code works?

added testcases

Closes #9062

Allow users to organize configuration into multiple files within a
config.d/ directory. Files are loaded alphabetically and merged after
the main config file, making it easier to manage modular config setups
(e.g., separate files for permissions, plugins, theming).

Supports both ~/.config/opencode/config.d/ (global) and
.opencode/config.d/ (project-specific) locations.
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@github-actions

Copy link
Copy Markdown
Contributor

Closing this pull request because it has had no updates for more than 60 days. If you plan to continue working on it, feel free to reopen or open a new PR.

@github-actions github-actions Bot closed this Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE]: support config.d/ directory for modular configuration

1 participant