Skip to content

Commit 8226759

Browse files
committed
docs(cli): Update for new changes to rich shells
1 parent e4c07da commit 8226759

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/cli.rst

+14
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,20 @@ this via ``tmuxp -c``:
101101
.. _ipdb: https://pypi.org/project/ipdb/
102102
.. _libtmux: https://libtmux.git-pull.com
103103

104+
Shell detection
105+
~~~~~~~~~~~~~~~
106+
107+
``tmuxp shell`` detects the richest shell available in your *site packages*, you can also pick your shell via args:
108+
109+
- ``--pdb``: Use plain old ``breakpoint()`` (python 3.7+) or
110+
``pdb.set_trace``
111+
- ``--code``: Drop into ``code.interact``, accepts ``--use-pythonrc``
112+
- ``--bpython``: Drop into bpython
113+
- ``--ipython``: Drop into ipython
114+
- ``--ptpython``: Drop into ptpython, accepts ``--use-vi-mode``
115+
- ``--ptipython``: Drop into ipython + ptpython, accepts
116+
``--use-vi-mode``
117+
104118
.. _cli_freeze:
105119

106120
Freeze sessions

0 commit comments

Comments
 (0)