# tmuxp.workspace.loader.expand_cmd

- **Module:** tmuxp.workspace.loader
- **Package:** tmuxp
- **Language:** Python
- **Kind:** function
- **Source:** https://github.com/tmux-python/tmuxp/blob/153acdf6ff1268b14d3d03ed488f545a7123c8f1/src/tmuxp/workspace/loader.py#L31
- **Page:** https://libtmux.org/en/py/latest/workspace/reference/tmuxp-workspace-loader-expand_cmd/

```
tmuxp.workspace.loader.expand_cmd(p: dict[str, t.Any]) -> dict[str, t.Any]
```

Resolve shell variables and expand shorthands in a tmuxp config mapping.
