# LibTmux::Model::Pane.current-path

- **Module:** LibTmux::Model
- **Package:** LibTmux
- **Language:** Raku
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-raku/blob/e76160bcce6e03976d49424da15b7c31afb2c68e/lib/LibTmux/Fields.rakumod#L98
- **Page:** https://libtmux.org/en/raku/latest/reference/libtmux-model-pane-current-path/

```
method current-path(--> Str)
```

Captured [`pane_current_path`](/en/tmux/latest/catalog/formats/pane_current_path/); local text access.

Captured [`pane_current_path`](/en/tmux/latest/catalog/formats/pane_current_path/); local text access.

## In other ports

A pane process's working directory

| Language | Equivalent |
| --- | --- |
| Python | [`libtmux.Pane.pane_current_path`](/en/py/latest/reference/libtmux-pane-pane_current_path/) (attribute) |
| Ruby | [`LibTmux::PaneSnapshot#current_path`](/en/ruby/latest/reference/libtmux-panesnapshot-current_path/) (method) |
| Lua | [`libtmux.SnapshotPane.current_path`](/en/lua/latest/reference/libtmux-snapshotpane-current_path/) (attribute) |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | no equivalent on `Pane` |
| Rust | [`pane.Pane.current_path`](/en/rs/latest/reference/pane-pane-current_path/) (method) |
| Go | [`tmux.Pane.CurrentPath`](/en/go/latest/reference/tmux-pane-currentpath/) (method) |
| Java | [`io.github.libtmux.Pane.currentPath`](/en/java/latest/reference/io-github-libtmux-pane-pane-currentpath/) (method) |
| C# | no equivalent on `Pane` |
| C++ | no equivalent on `Pane` |
| Swift | [`Pane.currentPath`](/en/swift/latest/reference/pane-currentpath/) (property) |
| OCaml | [`Libtmux.Pane.current_path`](/en/ocaml/latest/reference/libtmux-pane-current_path/) (function) |
| Perl | [`LibTmux::Pane::current_path`](/en/perl/latest/reference/libtmux-pane-current_path/) (method). Schema-validated captured data; reading performs no tmux I/O. |

No equivalent is recorded in PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.
