Show hook¶
show_hook¶
Look up a specific tmux hook by name.
- Returns:
Use when you know which hook you want to inspect by name. Returns
empty when the hook is unset; raises an
ExpectedToolError for
unknown hook names (typos, wrong scope) so input mistakes don’t
masquerade as “nothing configured”.
Side effects: The built-in request reads data only. A configured alias or hook can add effects; see Trust model.
Parameters
Parameter |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
yes |
— |
Hook to look up (e.g. |
|
|
|
no |
— |
:func: |
|
no |
— |
:func: |
|
|
no |
|
:func: |
|
|
no |
— |
:func: |