@@ -20,6 +20,8 @@ tmuxp 1.7.0a1 (2020-11-07)
20
20
21
21
Thank you @joseph-flinn!
22
22
23
+ .. _v1.6.1 :
24
+
23
25
tmuxp 1.6.1 (2020-11-07)
24
26
------------------------
25
27
- :issue: `641 ` Improvements to ``shell ``
@@ -37,24 +39,29 @@ tmuxp 1.6.1 (2020-11-07)
37
39
- ``--pdb ``: Use plain old ``breakpoint() `` (python 3.7+) or
38
40
``pdb.set_trace ``
39
41
- ``--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
44
46
``--use-vi-mode ``
45
47
46
48
.. _django-extensions : https://github.com/django-extensions/django-extensions
47
49
48
50
tmuxp 1.6.0 (2020-11-06)
49
51
------------------------
50
- - :issue: `636 ` New command: `` tmuxp shell `` and : issue: `638 ` ``tmuxp shell_plus ``
52
+ - :issue: `636 ` + : issue: `638 ` New command: ``tmuxp shell ``
51
53
52
54
Automatically preloads session, window, and pane via `libtmux `_
53
55
api objects and makes them available in a python console.
54
56
55
57
.. image :: _static/tmuxp-shell.gif
56
58
:width: 100%
57
59
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
+
58
65
In python 3.7+, supports ``PYTHONBREAKPOINT ``:
59
66
60
67
.. code-block :: sh
@@ -81,7 +88,9 @@ tmuxp 1.6.0 (2020-11-06)
81
88
$ tmuxp shell my_server my_window -c ' print(window.name.upper())'
82
89
MY_WINDOW
83
90
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
85
94
86
95
tmuxp 1.5.8 (2020-10-31)
87
96
------------------------
0 commit comments