tmuxtmuxOptions, hooks and formats

Choose documentation 1

latest

tmux catalog version

Latest (3.7c) 3.7c 3.2a
English

tmux 3.7c options, hooks and formats

hook tmux3.7c

command-error

Run when a command fails.

Scope
session
Set
set-hook command-error command
Read
show-hooks command-error

Description#

Run when a command fails.

Releases#

  • tmux 3.7c : present
  • tmux 3.2a : not present

Source#

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

Used by#

Library documentation that names this hook.

Rust
options.generated.COMMAND_ERROR
Go
tmux.ServerHookValues.CommandError, tmux.SessionHookValues.CommandError
Esc

Type to search.

Reference preview Open reference