Closed mrzv closed 1 week ago
Does forward_env do what you want?
If you want to foward all environment variables, there is currently no way to do that, but you can configure a subset.
That worked for $SSH_CLIENT
. Thanks!
You want me to close this or do you think a more general "forward everything" option would be useful?
You can close it. I don't have a strong opinion on the general "forward everything". At least, not yet.
Sounds good, we'll KISS for now then
What happened Right now, when
shpool
launches a new shell for the session, it doesn't preserve environment variables. This loses some useful information, for example, whether I'm running via SSH, which I test by checking if$SSH_CLIENT
is defined.What I expected to happen Preserve the environment variables from the shell that launched us.
Version info
shpool 0.6.1