# pane_current_path

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

> Current path if available

format variable tmux3.7c

Current path if available

* Scope

  Describes the pane being formatted

* Type

  Text

* Usage

  `#{pane_current_path}`

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

Current path if available

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

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

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

* Defined in

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

* C source reference

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

* CLI Manual

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

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

Library documentation that names this format variable.

* Rust

  [`mcp.tools.contract.VariablesArgs.names`](https://libtmux.org/en/rs/latest/mcp/reference/mcp-tools-contract-variablesargs-names/), [`pane.Pane.current_path`](https://libtmux.org/en/rs/latest/reference/pane-pane-current_path/), [`server.NewSessionOptions.start_directory`](https://libtmux.org/en/rs/latest/reference/server-newsessionoptions-start_directory/), [`session.NewWindowOptions.start_directory`](https://libtmux.org/en/rs/latest/reference/session-newwindowoptions-start_directory/), [`snapshot.Availability`](https://libtmux.org/en/rs/latest/reference/snapshot-availability/), [`window.SplitOptions.start_directory`](https://libtmux.org/en/rs/latest/reference/window-splitoptions-start_directory/)

* Go

  [`tmux.FormatValues.PaneCurrentPath`](https://libtmux.org/en/go/latest/reference/tmux-formatvalues-panecurrentpath/), [`tmux.Pane.CurrentPath`](https://libtmux.org/en/go/latest/reference/tmux-pane-currentpath/)

* C++

  [`libtmux::Pane::expand`](https://libtmux.org/en/cxx/latest/reference/libtmux-pane-expand/)
