# automatic-rename-format

Source: https://libtmux.org/en/tmux/3.2a/catalog/options/automatic-rename-format/

> The format (see FORMATS) used when the automatic-rename option is enabled.

option tmux3.2a

The format (see FORMATS) used when the automatic-rename option is enabled.

* Scope

  window

* Type

  Text

* Default

  `#{?pane_in_mode,[tmux],#{pane_current_command}}#{?pane_dead,[dead],}`

* Set

  [`set-option`](https://libtmux.org/en/tmux/3.2a/manual/set-option/) `-w automatic-rename-format value`

* Read

  [`show-options`](https://libtmux.org/en/tmux/3.2a/manual/show-options/) `-w automatic-rename-format`

## Description[#](https://libtmux.org/en/tmux/3.2a/catalog/options/automatic-rename-format/#description)

The format (see [FORMATS](https://libtmux.org/en/tmux/3.2a/manual/full/#FORMATS)) used when the [`automatic-rename`](https://libtmux.org/en/tmux/3.2a/catalog/options/automatic-rename/) option is enabled.

## Releases[#](https://libtmux.org/en/tmux/3.2a/catalog/options/automatic-rename-format/#releases)

* [tmux 3.7c](https://libtmux.org/en/tmux/3.7c/catalog/options/automatic-rename-format/) : present
* [tmux 3.2a](https://libtmux.org/en/tmux/3.2a/catalog/options/automatic-rename-format/) : present

## Source[#](https://libtmux.org/en/tmux/3.2a/catalog/options/automatic-rename-format/#source)

* Defined in

  [`options-table.c:786`](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options-table.c#L786)

* C source reference

  [`options_table`](https://libtmux.org/en/tmux/3.2a/reference/c-variable-options_table/)

* CLI Manual

  [Original manual entry](https://libtmux.org/en/tmux/3.2a/manual/full/#options-automatic-rename-format)

## Used by[#](https://libtmux.org/en/tmux/3.2a/catalog/options/automatic-rename-format/#used-by)

Library documentation that names this option.

* Rust

  [`options.generated.AUTOMATIC_RENAME_FORMAT`](https://libtmux.org/en/rs/latest/reference/options-generated-automatic_rename_format/)

* Go

  [`tmux.GlobalWindowScope.SetAutomaticRenameFormat`](https://libtmux.org/en/go/latest/reference/tmux-globalwindowscope-setautomaticrenameformat/), [`tmux.Window.SetAutomaticRenameFormat`](https://libtmux.org/en/go/latest/reference/tmux-window-setautomaticrenameformat/), [`tmux.WindowOptionValues.AutomaticRenameFormat`](https://libtmux.org/en/go/latest/reference/tmux-windowoptionvalues-automaticrenameformat/)
