tmuxtmuxOptions, hooks and formats

Choose documentation 1

latest

tmux catalog version

Latest (3.7c) 3.7c 3.2a
English

hook tmux3.7c

session-renamed

Run when a session is renamed.

Scope
session
Set
set-hook session-renamed command
Read
show-hooks session-renamed
Control mode
Also sent to control clients as %session-renamed

Description#

Run when a session is renamed.

Releases#

Source#

Defined in
options-table.c:1703
Fired from
C source reference
options_table, notify_session
CLI Manual
Original manual entry

Used by#

Library documentation that names this hook.

Python
libtmux_mcp.models.HookEntry, libtmux._internal.constants.Hooks.from_stdout, libtmux.hooks.HooksMixin.set_hooks, libtmux.hooks.HooksMixin.show_hook, libtmux.Pane.set_hooks, libtmux.Pane.show_hook and 6 more
Rust
options.generated.SESSION_RENAMED
Go
tmux.ServerHookValues.SessionRenamed, tmux.SessionHookValues.SessionRenamed
Esc

Type to search.

Reference preview Open reference