# config.paneCommands

- **Module:** config
- **Package:** @libtmux/libtmux
- **Language:** TypeScript
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-ts/blob/2cb93308200da38a26b59876618116850f110607/packages/workspace/src/config.ts#L109
- **Page:** https://libtmux.org/reference/ts/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.
