Skip to content

Releases: tmux-python/tmuxp

v1.6.1 - shell improvements

07 Nov 15:31
Compare
Choose a tag to compare
  • #641 Improvements to shell

    Thanks django-extensions (licensed MIT) for the shell detection abstraction.

    • Deprecate shell_plus

    • tmuxp shell now detects the best shell available by default

    • Python 3.7+ with PYTHONBREAKPOINT set in env will drop into pdb by
      default

    • Drop into code.interact by default instead of pdb if no third
      party shells found

    • New options, override:

      • --pdb: Use plain old breakpoint() (python 3.7+) or
        pdb.set_trace
      • --code: Drop into code.interact, accepts --use-pythonrc
      • --bpython: Drop into bpython
      • --ipython: Drop into ipython
      • --ptpython: Drop into ptpython, accepts --use-vi-mode
      • --ptipython: Drop into ipython + ptpython, accepts
        --use-vi-mode

1.6.0 - meet tmuxp shell

07 Nov 15:29
Compare
Choose a tag to compare

#636 New command: tmuxp shell and #638 tmuxp shell_plus

Automatically preloads session, window, and pane via libtmux api objects and makes them available in a python console.

tmuxp-shell

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

v1.5.7post0

07 Nov 15:25
19b507e
Compare
Choose a tag to compare

Accidental print() statement removed

v1.5.8

07 Nov 15:26
Compare
Choose a tag to compare

#639 Passes start_directory through to new tmux session #631, thank you @joseph-flinn!

v1.5.7

07 Nov 15:24
Compare
Choose a tag to compare

#637 Support for loading directories with periods in it

tmuxp load ~/work/your.project will now work

Earlier workaround was to do tmuxp load ~/work/your.project/.tmuxp.yaml

Fixes #212 and #201

v1.5.6

14 Oct 16:13
Compare
Choose a tag to compare
  • #618: allow passing --overwrite to tmuxp freeze. Thank you @betoSolares!
  • #589 added option for the the confirm command to auto-confirm the prompt. Thank you @aRkedos!
  • #626 Add new session name option to cli. Thank you @joseph-flinn!
  • #626 Add test for new session name option
  • #626 Update docs for new session name option
  • #623 Move docs from RTD to self-serve site
  • #623 Modernize Makefiles
  • #623 New development docs
  • #623 Move doc -> docs
  • #623 Move tests to GitHub Actions
  • #623 Update pyproject.toml to experiment with poetry packaging
  • #619 isort 5
  • #629 Update black from 19.10b0 to 20.08b1

v1.5.5

26 Jul 21:44
Compare
Choose a tag to compare
  • #616 (via: #599) New command: tmuxp ls

    List commands available via config directory. If the config is printed, it's loadable via tmuxp load configfilename without needing to type the full filepath. Thank you @pythops!

  • #480: Fix typo, thanks @jstoja

  • #578: Fix typo, thanks @mauroporras

  • #519: Fix typo, thanks @timgates42

  • #506: Fix Makefile typo, thanks @wolfgangpfnuer

  • #619: Update isort to 5.x

  • Travis: Only run on master and PRs one time

  • Travis: Add caching for tmux builds

  • Travis: Test 2.9 and 3.0a

  • #613: Move from Pipenv to Poetry

v1.5.4

26 Jul 21:42
Compare
Choose a tag to compare
  • #500: Fix window focus
  • Fix travis CI builds for python 3.7

v1.5.3

26 Jul 21:42
Compare
Choose a tag to compare
  • #377: Include examples in source distribution package

v1.5.2

26 Jul 21:42
Compare
Choose a tag to compare
  • Loosen libtmux version constraint to >0.8 and <0.9 (libtmux 0.8.2 released today)
  • #484 CHANGES converted to plain reStructuredText
    -:#491 tmuxp freeze will now infer active session with freezing
  • #490 Fix XDG's $XDG_CONFIG_HOME behavior
  • Doc fixes: #483, #482, #480
  • #487 Simplifying handling of configs with no panes (Fixes #470)