# config.paneCommands

- **Module:** config
- **Package:** @libtmux/workspace
- **Language:** TypeScript
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-ts/blob/3fe1ca654b81b8cbf4a13b777a001a3298c87a6f/packages/workspace/src/config.ts#L88
- **Page:** https://libtmux.org/en/ts/latest/workspace/reference/config-panecommands/

```
config.paneCommands(pane: : WorkspacePane, window: : WorkspaceWindow) -> readonly string[]
```

Normalize a pane entry to the commands it should run, in order.

A window's `shell_command_before` runs in every one of its panes, ahead of
that pane's own commands, which is how tmuxp seeds a common environment.
