libtmux Reference MCP Search
On this page

libtmux.Server.unset_hook

View as Markdown

Module
libtmux
Declared in
Server
Package
libtmux
Source
src/libtmux/hooks.py
unset_hook ( self , hook : str , global_ : bool | None = None , scope : OptionScope | _DefaultOptionScope | None = DEFAULT_OPTION_SCOPE ) Self
method [source]
method [source]
unset_hook

Inherited from libtmux.hooks.HooksMixin

Unset hook for tmux target.

Wraps $ tmux set-hook -u <hook> / $ tmux set-hook -U <hook>

Parameters
  • hook ( str ) – hook to unset, e.g. 'after-show-environment'

Raises

0 declared, 0 inherited

Esc

Type to search.