From 2cad84ff2600ab9090540d99932ddce6e3c965ec Mon Sep 17 00:00:00 2001 From: Christoph Schmatzler Date: Wed, 1 Apr 2026 12:19:52 +0000 Subject: [PATCH] rm direnv --- modules/_opencode/plugin/direnv.ts | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 modules/_opencode/plugin/direnv.ts 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); - } - }, - }; -};