tmuxp v1.6.0 Release Notes
Release Date: 2020-11-07 // over 3 years ago-
#636 New command:
tmuxp shell
and #638tmuxp shell_plus
Automatically preloads session, window, and pane via libtmux api objects and makes them available in a python console.
👍 In python 3.7+, supports
PYTHONBREAKPOINT
:$ pip install ipdb $ env PYTHONBREAKPOINT=ipdb.set\_trace tmuxp shell You can execute python directly via -c: $ tmuxp shell -c 'print(session.name); print(window.name)'my\_server my\_window $ tmuxp shell my\_server -c 'print(session.name); print(window.name)'my\_server my\_window $ tmuxp shell my\_server my\_window -c 'print(session.name); print(window.name)'my\_server my\_window $ tmuxp shell my\_server my\_window -c 'print(window.name.upper())'MY\_WINDOW
tmuxp shell_plus
has autocompletion