Fix opencode global install docs to use install.sh --path (#249)

Fixes opencode global install docs — replaces broken cp command with proper convert + install two-step workflow.
This commit is contained in:
Shiven Garia
2026-04-12 09:55:59 +05:30
committed by GitHub
parent cef2105207
commit 783f6a72bf

View File

@@ -48,11 +48,12 @@ color: "#00FFFF"
## Project vs Global
Agents in `.opencode/agents/` are **project-scoped**. To make them available
globally across all projects, copy them to your OpenCode config directory:
globally across all projects, first generate the agent files, then install
with `--path`:
```bash
mkdir -p ~/.config/opencode/agents
cp integrations/opencode/agents/*.md ~/.config/opencode/agents/
./scripts/convert.sh --tool opencode
./scripts/install.sh --tool opencode --path ~/.config/opencode/agents
```
## Regenerate