opencode icon indicating copy to clipboard operation
opencode copied to clipboard

[FEATURE]: Pass agents bash env variables OR pass agents bashrc files

Open FreeSamples00 opened this issue 1 week ago • 0 comments

Feature hasn't been suggested before.

  • [x] I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Issue: agents never pick up on the bash environment and do as such cannot reproduce the same errors (or successes) as the user.

Fix: Add a config setting to pass specific environment variables on to all bash commands run by agents, or better yet add a config to pass a specific bashrc (via bash --init-file) for the agent to use.

FreeSamples00 avatar Jan 05 '26 11:01 FreeSamples00