# Libtmux.Command.Set_hook

- **Module:** Libtmux.Command
- **Package:** libtmux
- **Language:** OCaml
- **Kind:** constant
- **Source:** https://github.com/libtmux/libtmux-ocaml/blob/205dfda49742592b479247049d186956e4a4cfe9/lib/libtmux.mli#L951
- **Public owner:** Libtmux
- **Page:** https://libtmux.org/en/ocaml/latest/reference/libtmux-command-mutation-set_hook/

## Fields

### Other members

- [`append`](/en/ocaml/latest/reference/libtmux-command-mutation-set_hook-append/) (`bool`)
- [`commands`](/en/ocaml/latest/reference/libtmux-command-mutation-set_hook-commands/) (`Hook.command list`)
- [`index`](/en/ocaml/latest/reference/libtmux-command-mutation-set_hook-index/) (`int option`)
- [`name`](/en/ocaml/latest/reference/libtmux-command-mutation-set_hook-name/) (`string`)
- [`scope`](/en/ocaml/latest/reference/libtmux-command-mutation-set_hook-scope/) (`Options.scope`)
