3 ms·
I think it's undocumented but you're supposed to be able to have update-environment set to '*' so it always uses the parent shell's environment variables when c
by SeerLite 4y ago
I think it's undocumented but you're supposed to be able to have update-environment set to '*' so it always uses the parent shell's environment variables when creating a new session.
I have a very quirky setup with tmux and rely on this feature, but it's broken IIRC and add important variables to update-environment manually.
- shaicoleman 4y agoWorks for me, adding the following line to my .tmux.conf makes it inherit environment variables from the parent shell set-option -g update-environment "*"