hook tmux3.2a
after-show-environment
A command's after hook is run after it completes, except when the command is run as part of a hook itself.
- Scope
- session
- Set
-
set-hookafter-show-environment command - Read
-
show-hooksafter-show-environment - Runs
- After
show-environmentcompletes
Description
A command's after hook is run after it completes, except when the command is run as part of a hook itself. They are named with an ‘
after-’ prefix. For example, the following command adds a hook to select the even-vertical layout after every split-window:Every command that has an after hook shares this text.
Releases
Source
- Defined in
options-table.c:1125- Fired from
-
cmd-queue.c:626incmdq_insert_hook
-
- C source reference
options_table,cmdq_insert_hook- CLI manual
- Original manual entry
Used by
Library documentation that names this hook.
- Raku
LibTmux::Catalogue- Python
libtmux.hooks.HooksMixin.unset_hook,libtmux.Pane.unset_hook,libtmux.Server.unset_hook,libtmux.Session.unset_hook,libtmux.Window.unset_hook- Rust
options.generated.AFTER_SHOW_ENVIRONMENT- Go
tmux.ServerHookValues.AfterShowEnvironment,tmux.SessionHookValues.AfterShowEnvironment