Skip to main content

tmux session manager

Project description

tmuxp, tmux session manager. built on libtmux.

Python Package Documentation Status Build Status Code Coverage License

https://raw.github.com/tony/tmuxp/master/doc/_static/tmuxp-demo.gif

Load a tmux session

Load tmux sessions via json and YAML, tmuxinator and teamocil style.

session_name: 4-pane-split
windows:
- window_name: dev window
  layout: tiled
  shell_command_before:
    - cd ~/
  panes:
    - shell_command:
        - cd /var/log
        - ls -al | grep \.log
    - pwd
    - pwd
    - pwd

Save as mysession.yaml. And load:

$ tmuxp load ./mysession.yaml

Sessions in ~/.tmuxp/ can use names:

$ tmuxp load mysession

Projects with .tmuxp.yaml or .tmuxp.json load via directory:

$ tmuxp load path/to/my/project/

Load multiple at once (in bg, offer to attach last):

$ tmuxp load mysession ./another/project/

simple, very elaborate config examples

Store configs in (~/.tmuxp) or include in your project as ~/.tmuxp.{yaml,json}. See author’s tmuxp configs and the the projects’ tmuxp.yaml.

bootstrap project dependencies before loading tmux. See the bootstrap_env.py and before_script example

Load sessions in the background by passing -d flag

Freeze a tmux session

snapshot your tmux layout, pane paths, and window/session names.

$ tmuxp freeze SESSION_NAME

See more about freezing tmux sessions.

Docs / Reading material

See the Quickstart.

Documentation homepage (also in 中文)

Want to learn more about tmux itself? Read The Tao of Tmux.

Project details

tmux support

1.8, 1.9a, 2.0, 2.1, 2.2

python support

2.6, 2.7, >= 3.3

config support

yaml, json, python dict

Source

https://github.com/tony/tmuxp

Docs

http://tmuxp.rtfd.org

API

http://tmuxp.readthedocs.io/en/latest/api.html

Changelog

http://tmuxp.readthedocs.io/en/latest/history.html

Issues

https://github.com/tony/tmuxp/issues

Travis

http://travis-ci.org/tony/tmuxp

Test Coverage

https://coveralls.io/r/tony/tmuxp

pypi

https://pypi-hypernode.com/pypi/tmuxp

Open Hub

https://www.openhub.net/p/tmuxp

License

BSD.

git repo

$ git clone https://github.com/tony/tmuxp.git

install stable

$ sudo pip install tmuxp

install dev

$ git clone https://github.com/tony/tmuxp.git tmuxp
$ cd ./tmuxp
$ virtualenv .venv
$ source .venv/bin/activate
$ pip install -e .

See the developing and testing page in the docs for more.

tests

$ make test

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tmuxp-1.2.1.tar.gz (42.7 kB view details)

Uploaded Source

File details

Details for the file tmuxp-1.2.1.tar.gz.

File metadata

  • Download URL: tmuxp-1.2.1.tar.gz
  • Upload date:
  • Size: 42.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tmuxp-1.2.1.tar.gz
Algorithm Hash digest
SHA256 141a0eccbafa570c45f51b593f6721fbc40d89b9b12e8ad153274ade9e99e08c
MD5 1aef5e482e3c87cba65779d7173f2909
BLAKE2b-256 fca790b39e7b20bb48bb94dc096939f32b3a72af80260797f2ff9ffa36aef104

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page