diff --git a/modules/_opencode/plugin/direnv.ts b/modules/_opencode/plugin/direnv.ts deleted file mode 100644 index 52fd25e..0000000 --- a/modules/_opencode/plugin/direnv.ts +++ /dev/null @@ -1,18 +0,0 @@ -import type { Plugin } from "@opencode-ai/plugin"; - -export const DirenvPlugin: Plugin = async ({ $ }) => { - return { - "shell.env": async (input, output) => { - try { - const exported = await $`direnv export json` - .cwd(input.cwd) - .quiet() - .json(); - - Object.assign(output.env, exported); - } catch (error) { - console.warn("[direnv] failed to export env:", error); - } - }, - }; -};