diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-08-23 18:21:02 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-08-23 18:21:02 +0000 |
commit | 90400ae96ab433a915d9e1a8b6df6a640c6fd7cd (patch) | |
tree | 196dd588e8b5ab05c686f64c763f4d9f4d5b53c2 /tmux.c | |
parent | a910b38a353d73bf581900a6b117406020dbf2d9 (diff) | |
download | rtmux-90400ae96ab433a915d9e1a8b6df6a640c6fd7cd.tar.gz rtmux-90400ae96ab433a915d9e1a8b6df6a640c6fd7cd.tar.bz2 rtmux-90400ae96ab433a915d9e1a8b6df6a640c6fd7cd.zip |
Add some other obvious variables to update-environment (WINDOWID SSH_ASKPASS
SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION) so they are updated in the session
environment on new/attach.
Diffstat (limited to 'tmux.c')
-rw-r--r-- | tmux.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -381,7 +381,8 @@ main(int argc, char **argv) options_set_number(&global_s_options, "status-utf8", 0); options_set_string(&global_s_options, "terminal-overrides", "*88col*:colors=88,*256col*:colors=256"); - options_set_string(&global_s_options, "update-environment", "DISPLAY"); + options_set_string(&global_s_options, "update-environment", "DISPLAY " + "WINDOWID SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION"); options_set_number(&global_s_options, "visual-activity", 0); options_set_number(&global_s_options, "visual-bell", 0); options_set_number(&global_s_options, "visual-content", 0); |