# tmuxp.shell.detect_best_shell

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

```
tmuxp.shell.detect_best_shell() -> CLIShellLiteral
```

Return the best, most feature-rich shell available.
