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:
@@ -48,11 +48,12 @@ color: "#00FFFF"
|
|||||||
## Project vs Global
|
## Project vs Global
|
||||||
|
|
||||||
Agents in `.opencode/agents/` are **project-scoped**. To make them available
|
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
|
```bash
|
||||||
mkdir -p ~/.config/opencode/agents
|
./scripts/convert.sh --tool opencode
|
||||||
cp integrations/opencode/agents/*.md ~/.config/opencode/agents/
|
./scripts/install.sh --tool opencode --path ~/.config/opencode/agents
|
||||||
```
|
```
|
||||||
|
|
||||||
## Regenerate
|
## Regenerate
|
||||||
|
|||||||
Reference in New Issue
Block a user