# host_short

Source: https://libtmux.org/en/tmux/latest/catalog/formats/host_short/

> Hostname of local host (no domain name)

format variable tmux3.7c

Hostname of local host (no domain name)

* Scope

  Describes the server being formatted

* Type

  Text

* Short form

  `#h`

* Usage

  `#{host_short}`

## Description[#](https://libtmux.org/en/tmux/latest/catalog/formats/host_short/#description)

Hostname of local host (no domain name)

## Releases[#](https://libtmux.org/en/tmux/latest/catalog/formats/host_short/#releases)

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

## Source[#](https://libtmux.org/en/tmux/latest/catalog/formats/host_short/#source)

* Defined in

  [`format.c:3335`](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L3335)

* C source reference

  [`format_cb_host_short`](https://libtmux.org/en/tmux/latest/reference/c-function-format-c-format_cb_host_short/)

* CLI Manual

  [Original manual entry](https://libtmux.org/en/tmux/latest/manual/full/#host_short)

## Used by[#](https://libtmux.org/en/tmux/latest/catalog/formats/host_short/#used-by)

Library documentation that names this format variable.

* Go

  [`tmux.FormatValues.HostShort`](https://libtmux.org/en/go/latest/reference/tmux-formatvalues-hostshort/)
