switch global config to ~/.config/opencode/opencode.json
publish / publish (push) Has been cancelled

This commit is contained in:
Dax Raad
2025-07-11 20:50:42 -04:00
parent 15604eedd9
commit a799fdb96f
3 changed files with 17 additions and 6 deletions
@@ -21,7 +21,7 @@ This can be used to configure opencode globally or for a specific project.
### Global
Place your global opencode config in `~/.config/opencode/config.json`. You'll want to use the global config for things like themes, providers, or keybinds.
Place your global opencode config in `~/.config/opencode/opencode.json`. You'll want to use the global config for things like themes, providers, or keybinds.
---
+1 -1
View File
@@ -81,7 +81,7 @@ If you have both global and project-specific rules, opencode will combine them t
## Custom Instructions
You can specify custom instruction files in your `opencode.json` or the global `~/.config/opencode/config.json`. This allows you and your team to reuse existing rules rather than having to duplicate them to AGENTS.md.
You can specify custom instruction files in your `opencode.json` or the global `~/.config/opencode/opencode.json`. This allows you and your team to reuse existing rules rather than having to duplicate them to AGENTS.md.
Example: