# hook

Source: https://libtmux.org/en/tmux/3.7c/catalog/formats/hook/

> Name of running hook, if any

format variable tmux3.7c

Name of running hook, if any

* Type

  Text

* Usage

  `#{hook}`

## Description[#](https://libtmux.org/en/tmux/3.7c/catalog/formats/hook/#description)

Name of running hook, if any

## Releases[#](https://libtmux.org/en/tmux/3.7c/catalog/formats/hook/#releases)

* [tmux 3.7c](https://libtmux.org/en/tmux/3.7c/catalog/formats/hook/) : present
* [tmux 3.2a](https://libtmux.org/en/tmux/3.2a/catalog/formats/hook/) : present

## Source[#](https://libtmux.org/en/tmux/3.7c/catalog/formats/hook/#source)

* Defined in

  [`cmd-queue.c:395`](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-queue.c#L395)

* C source reference

  [`format_table`](https://libtmux.org/en/tmux/3.7c/reference/c-variable-format-c-format_table/)

* CLI Manual

  [Original manual entry](https://libtmux.org/en/tmux/3.7c/manual/full/#hook)
