by kelnos · 3y ago · 0 comments
In tmux's case, it starts new shells with "old" env vars, where "old" is "whatever was present when the first tmux session was started".
So it is roughly analogous:
VSCode ~ tmux server
VSCode shell ~ tmux pane
This is all expected and ergonomic I agree.