aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-12-08 07:11:09 +0000
committerThomas Adam <thomas@xteddy.org>2015-12-08 07:11:09 +0000
commit5862f59ed7c54959af6d112a647ae3c273579b77 (patch)
tree4cba465137c22437f602775f100d22b9ea9794cd /tmux.c
parent98994a8bb1ca7602f16a5de0d4482efd299f5d7b (diff)
parentd2fb0efcd197bf0d581a0f7b1e27223d095cb339 (diff)
downloadrtmux-5862f59ed7c54959af6d112a647ae3c273579b77.tar.gz
rtmux-5862f59ed7c54959af6d112a647ae3c273579b77.tar.bz2
rtmux-5862f59ed7c54959af6d112a647ae3c273579b77.zip
Conflicts:
Makefile
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tmux.c b/tmux.c
index 440bad59..006edca9 100644
--- a/tmux.c
+++ b/tmux.c
@@ -40,6 +40,7 @@ struct options *global_options; /* server options */
struct options *global_s_options; /* session options */
struct options *global_w_options; /* window options */
struct environ *global_environ;
+struct hooks *global_hooks;
struct timeval start_time;
const char *socket_path;
@@ -284,6 +285,8 @@ main(int argc, char **argv)
flags |= CLIENT_UTF8;
}
+ global_hooks = hooks_create(NULL);
+
global_environ = environ_create();
for (var = environ; *var != NULL; var++)
environ_put(global_environ, *var);