get_hook
Source and package
- Module
- LibTmux
- Package
- LibTmux
- Source
- src/configuration.jl
- get_hook( connection::Lib
Tmux , scope, name::Abstract.Control Connection String ; inherit, kwargs... ) get_hook(server::LibTmux , scope, name::Abstract.Server String ; inherit, kwargs...) -
Methods#
get_hook( connection::Lib
Tmux , scope, name::Abstract.Control Connection String ; inherit, kwargs... )[source]#Read the complete sparse hook array in tmux order without executing it. Return
nothingfor no local override, or an empty vector for a local empty array. Inherited entries carryinherited=true. Canonical command bodies and scope semantics follow the subprocess method; named replies and explicit parent lookups avoid raw broad listings and preserve empty-array masking.get_hook(connection::ControlConnection, scope, name; inherit=false, kwargs...)get_hook(server::Lib
Tmux , scope, name::Abstract.Server String ; inherit, kwargs...)[source]#Return sparse
HookCommandentries in tmux order.nothingmeans no local override; an empty vector means an explicitly empty command array. Withinherit=true, include inherited hooks. Scopes followget_option, excluding:server; only built-in hooks supported by the connected tmux are accepted. Command bodies use tmux's canonical executable grammar, not the original quoting or whitespace. This read does not execute the returned commands.get_hook(server, scope, name; inherit=false, kwargs...)- Parameters