Update environment when switching sessions as well as attaching, from Si Beaumont.
Update environment when switching sessions as well as attaching, from Si
Beaumont.

klaxalk/tmux,klaxalk/tmux,klaxalk/tmux,klaxalk/tmux,klaxalk/tmux