opencode icon indicating copy to clipboard operation
opencode copied to clipboard

tui: apply direnv env for user shell commands

Open ry2009 opened this issue 2 weeks ago • 0 comments

  • run direnv export inside the bash/zsh wrapper before eval so .envrc gets applied even for non-interactive ! commands.
    • Change is in packages/opencode/src/session/prompt.ts:1206 (zsh) and packages/opencode/src/session/prompt.ts:1220 (bash).

ry2009 avatar Jan 02 '26 21:01 ry2009