Skip to content

add support for custom global config dir via OPENCODE_CONFIG_DIR #3

Closed

Description

@doodhout

Currently (AFAIK) this plugin looks for a /rules/ subfolder under ~/.config/opencode/ (global config) and .opencode/ (project config), but it does not seem to find rules located in the custom global config dir that is defined using the environment variable OPENCODE_CONFIG_DIR.

More info on this feature in opencode: https://opencode.ai/docs/config/#custom-directory

Would it be possible to also look for rules located in that folder?

Thanks!

Activity

  1. frap129 commented on Mar 31, 2026

    @frap129
    Owner

    Sorry for the delay! this should be resolved in the latest release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions