aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-08-24 16:35:24 +0000
committerTiago Cunha <tcunha@gmx.com>2009-08-24 16:35:24 +0000
commitd5bc78d98b73572cffe21d4eb5798d13911b8eb7 (patch)
treeb13a550c583c218ead61b0137fb641775f21ceab /tmux.c
parenta3799e035056e19d13a4bab52f1965d3e3a0c0d6 (diff)
downloadrtmux-d5bc78d98b73572cffe21d4eb5798d13911b8eb7.tar.gz
rtmux-d5bc78d98b73572cffe21d4eb5798d13911b8eb7.tar.bz2
rtmux-d5bc78d98b73572cffe21d4eb5798d13911b8eb7.zip
Sync OpenBSD patchset 292:
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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tmux.c b/tmux.c
index 33390b34..649501ef 100644
--- a/tmux.c
+++ b/tmux.c
@@ -1,4 +1,4 @@
-/* $Id: tmux.c,v 1.163 2009-08-16 19:20:37 tcunha Exp $ */
+/* $Id: tmux.c,v 1.164 2009-08-24 16:35:24 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -390,7 +390,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);