docs: add uninstallation instructions to README (#82)

Add a new Uninstallation section with steps to remove the plugin
from OpenCode config, clean up configuration files, and verify
the removal.
This commit is contained in:
Felipe Coury
2025-12-17 10:51:24 -03:00
committed by GitHub
parent c4ce119e61
commit 1400f1569d

View File

@@ -58,6 +58,7 @@ No stupid token consumption massive subagents here. No bloat tools here.
- [Verify the setup](#verify-the-setup)
- [Say 'Congratulations! 🎉' to the user](#say-congratulations--to-the-user)
- [Too Complicated?](#too-complicated)
- [Uninstallation](#uninstallation)
- [Features](#features)
- [Agents: Your Teammates](#agents-your-teammates)
- [Background Agents: Work Like a Team](#background-agents-work-like-a-team)
@@ -400,6 +401,38 @@ That's it. The agent will figure out the rest and handle everything automaticall
</details>
## Uninstallation
To remove oh-my-opencode:
1. **Remove the plugin from your OpenCode config**
Edit `~/.config/opencode/opencode.json` (or `opencode.jsonc`) and remove `"oh-my-opencode"` from the `plugin` array:
```bash
# Using jq
jq '.plugin = [.plugin[] | select(. != "oh-my-opencode")]' \
~/.config/opencode/opencode.json > /tmp/oc.json && \
mv /tmp/oc.json ~/.config/opencode/opencode.json
```
2. **Remove configuration files (optional)**
```bash
# Remove user config
rm -f ~/.config/opencode/oh-my-opencode.json
# Remove project config (if exists)
rm -f .opencode/oh-my-opencode.json
```
3. **Verify removal**
```bash
opencode --version
# Plugin should no longer be loaded
```
## Features