diff options
author | nicm <nicm> | 2016-10-16 19:55:52 +0000 |
---|---|---|
committer | nicm <nicm> | 2016-10-16 19:55:52 +0000 |
commit | d15d54c2c8e6b95695169442eb2a27d814efc078 (patch) | |
tree | 034728a41518f6f200b30b3869e131908bf7a5b5 /tmux.1 | |
parent | 3f35b5299fb2c08637aa12757185e5b82eeb3fc1 (diff) | |
download | rtmux-d15d54c2c8e6b95695169442eb2a27d814efc078.tar.gz rtmux-d15d54c2c8e6b95695169442eb2a27d814efc078.tar.bz2 rtmux-d15d54c2c8e6b95695169442eb2a27d814efc078.zip |
Add hook_session and hook_window formats to get information on the
affected session or window when a hook fires. Enable session-created and
session-closed hooks now that that is available.
Diffstat (limited to 'tmux.1')
-rw-r--r-- | tmux.1 | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -3244,6 +3244,10 @@ Run when the program running in a pane exits, but is on so the pane has not closed. .It pane-exited Run when the program running in a pane exits. +.It session-created +Run when a new session created. +.It session-closed +Run when a session closed. .It session-renamed Run when a session is renamed. .It window-renamed @@ -3467,6 +3471,10 @@ The following variables are available, where appropriate: .It Li "history_limit" Ta "" Ta "Maximum window history lines" .It Li "history_size" Ta "" Ta "Size of history in bytes" .It Li "hook" Ta "" Ta "Name of running hook, if any" +.It Li "hook_session" Ta "" Ta "ID of session where hook was run, if any" +.It Li "hook_session_name" Ta "" Ta "Name of session where hook was run, if any" +.It Li "hook_window" Ta "" Ta "ID of window where hook was run, if any" +.It Li "hook_window_name" Ta "" Ta "Name of window where hook was run, if any" .It Li "host" Ta "#H" Ta "Hostname of local host" .It Li "host_short" Ta "#h" Ta "Hostname of local host (no domain name)" .It Li "insert_flag" Ta "" Ta "Pane insert flag" |