# tmuxp.workspace.loader.expandshell

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

```
tmuxp.workspace.loader.expandshell(value: str) -> str
```

Resolve shell variables based on user's ``$HOME`` and ``env``.

:py:func:`os.path.expanduser` and :py:func:`os.path.expandvars`.

## Parameters

- `value` (str): value to expand

## Returns

str
    value with shell variables expanded
