From 1400f1569d778aecde32e5d6227a2d2c4d47b393 Mon Sep 17 00:00:00 2001 From: Felipe Coury Date: Wed, 17 Dec 2025 10:51:24 -0300 Subject: [PATCH] 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. --- README.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/README.md b/README.md index ed807f1..968a051 100644 --- a/README.md +++ b/README.md @@ -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 +## 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