feat: add support for forwarding the entire env - #425
Open
ethanpailes wants to merge 1 commit into
Open
Conversation
ethanpailes
force-pushed
the
add-forward-all-env
branch
from
September 2, 2026 21:02
78073cd to
5f24f49
Compare
This patch extends the forward_env config option so that you can write ``` forward_env = true ``` in addition to setting up a fixed list of variables to forward. With this setting enabled, all variables present in the shell that `shpool attach` was launched from will be forwarded. Additionally, you can put ``` forward_env = false ``` to completely disable env var forwarding. Currently, we have a small handful of variables that we forward by default, so this new false setting allows users to fully prevent them being forwarded if they so desire. Fixes #241
ethanpailes
force-pushed
the
add-forward-all-env
branch
from
September 2, 2026 21:09
5f24f49 to
bd69589
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue Link
#241
AI Policy Ack
Ack
This PR was:
Description
This patch extends the forward_env config option so that you can write
in addition to setting up a fixed list of variables to forward. With this setting enabled, all variables present in the shell that
shpool attachwas launched from will be forwarded.Additionally, you can put
to completely disable env var forwarding. Currently, we have a small handful of variables that we forward by default, so this new false setting allows users to fully prevent them being forwarded if they so desire.
Fixes #241