@@ -20,6 +20,8 @@ tmuxp 1.7.0a1 (2020-11-07)
2020
2121 Thank you @joseph-flinn!
2222
23+ .. _v1.6.1 :
24+
2325tmuxp 1.6.1 (2020-11-07)
2426------------------------
2527- :issue: `641 ` Improvements to ``shell ``
@@ -37,24 +39,29 @@ tmuxp 1.6.1 (2020-11-07)
3739 - ``--pdb ``: Use plain old ``breakpoint() `` (python 3.7+) or
3840 ``pdb.set_trace ``
3941 - ``--code ``: Drop into ``code.interact ``, accepts ``--use-pythonrc ``
40- - ``--bpython ``: Drop into bpython
41- - ``--ipython ``: Drop into ipython
42- - ``--ptpython ``: Drop into ptpython, accepts ``--use-vi-mode ``
43- - ``--ptipython ``: Drop into ipython + ptpython, accepts
42+ - ``--bpython ``: Drop into ` bpython `_
43+ - ``--ipython ``: Drop into ` ipython `_
44+ - ``--ptpython ``: Drop into ` ptpython `_ , accepts ``--use-vi-mode ``
45+ - ``--ptipython ``: Drop into ` ipython `_ + ` ptpython `_ , accepts
4446 ``--use-vi-mode ``
4547
4648.. _django-extensions : https://github.com/django-extensions/django-extensions
4749
4850tmuxp 1.6.0 (2020-11-06)
4951------------------------
50- - :issue: `636 ` New command: `` tmuxp shell `` and : issue: `638 ` ``tmuxp shell_plus ``
52+ - :issue: `636 ` + : issue: `638 ` New command: ``tmuxp shell ``
5153
5254 Automatically preloads session, window, and pane via `libtmux `_
5355 api objects and makes them available in a python console.
5456
5557 .. image :: _static/tmuxp-shell.gif
5658 :width: 100%
5759
60+ As of :ref: `1.6.1 (above) <v1.6.1 >`, ``tmuxp shell `` will find the most
61+ feature-rich shell available. If you have `ipython `_, `ptpython `_, or
62+ `bpython `_ available, it will be selected automatically. Pass ``--pdb ``
63+ to use standard library pdb, or ``--code `` to use ``code.interact ``.
64+
5865 In python 3.7+, supports ``PYTHONBREAKPOINT ``:
5966
6067 .. code-block :: sh
@@ -81,7 +88,9 @@ tmuxp 1.6.0 (2020-11-06)
8188 $ tmuxp shell my_server my_window -c ' print(window.name.upper())'
8289 MY_WINDOW
8390
84- ``tmuxp shell_plus `` has autocompletion
91+ .. _bpython : https://bpython-interpreter.org/
92+ .. _ipython : https://ipython.org/
93+ .. _ptpython : https://github.com/prompt-toolkit/ptpython
8594
8695tmuxp 1.5.8 (2020-10-31)
8796------------------------
0 commit comments