Skip to content

Conversation

@pwuersch
Copy link

@pwuersch pwuersch commented Jan 2, 2026

Proposal to align docs with the issues mentioned in #6669.

Extends the "Global" section in the "Config" page to correctly OpenCodes preference of the XDG base directories when set.

Adjusts other locations where the global configuration is incompletely assumed to be only in ~/.config/opencode with backlinks to the "Config" page or small notes that the actual behavior is more complex.

Updated Global config section to document XDG_CONFIG_HOME support.
Config is loaded from $XDG_CONFIG_HOME/opencode/opencode.json when set,
falling back to ~/.config/opencode/opencode.json by default.
Updated references to global config files to link to the detailed
config locations documentation instead of duplicating XDG_CONFIG_HOME
information across multiple pages.
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.

1 participant