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
{{ message }}
Repository navigation
[FEATURE]: env flag to disable global config loading (OPENCODE_DISABLE_GLOBAL_CONFIG) #10021
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
This recent PR #8093 added env flag to disable loading project config, but it would also be very useful to do the opposite - disable GLOBAL config loading.
Use Case
Creating project agent configurations - global config messes with local configuration.
Usage
OPENCODE_DISABLE_GLOBAL_CONFIG=true opencode - will load project config but ignore global.
Both issues address global vs project config precedence, though from different angles. #7136 proposes marking global config as non-overridable, while this issue proposes disabling global config entirely.
Activity
github-actions commentedon Jan 22, 2026
This issue might be a duplicate of existing issues. Please check:
Both issues address global vs project config precedence, though from different angles. #7136 proposes marking global config as non-overridable, while this issue proposes disabling global config entirely.