# tmuxp.workspace.options.shell_is_zsh

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

```
tmuxp.workspace.options.shell_is_zsh(shell: str | None) -> bool
```

Return ``True`` when ``shell`` names the zsh shell.

## Parameters

- `shell` (str | None): a shell path or name (e.g. ``/usr/bin/zsh``)

## Returns

bool

## Example

```python
>>> shell_is_zsh("/usr/bin/zsh")
True
>>> shell_is_zsh("/bin/bash")
False
>>> shell_is_zsh(None)
False
```
