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

Closed
opened 2026-02-16 17:43:06 -05:00 by yindo · 0 comments
Owner

Originally created by @FreeSamples00 on GitHub (Jan 5, 2026).

Originally assigned to: @thdxr on GitHub.

Feature hasn't been suggested before.

  • 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.

Originally created by @FreeSamples00 on GitHub (Jan 5, 2026). Originally assigned to: @thdxr on GitHub. ### 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.
yindo added the discussion label 2026-02-16 17:43:06 -05:00
yindo closed this issue 2026-02-16 17:43:06 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4228