TMUX会话管理器
tmuxp的Python项目详细描述
tmuxp,tmux会话管理器。建立在libtmux之上。
我们需要帮助!tmuxp是tmux的可信会话管理器。如果你 请抽出时间帮助回答问题和qa请求 做!看issue #290!
对tmux是新的吗?The Tao of tmux是 在leanpub和Amazon Kindle上提供。免费阅读和浏览这本书 on the web。
安装
$ pip install --user tmuxp
加载tmux会话
通过json和yaml、tmuxinator和 teamocil样式。
session_name:4-pane-splitwindows:-window_name:dev windowlayout:tiledshell_command_before:-cd ~/# run as a first command in all panespanes:-shell_command:# pane no. 1-cd /var/log# run multiple commands in this pane-ls -al | grep \.log-echo second pane# pane no. 2-echo third pane# pane no. 3-echo forth pane# pane no. 4
另存为mysession.yaml,并加载:
$ tmuxp load ./mysession.yaml
~/.tmuxp/中的会话可以使用名称:
$ tmuxp load mysession
使用.tmuxp.yaml或.tmuxp.json通过目录加载的项目:
$ tmuxp load path/to/my/project/
一次加载多个(在背景中,提供最后附加):
$ tmuxp load mysession ./another/project/
simple和very elaborate配置示例
将配置存储在(~/.tmuxp)中或作为 ~/.tmuxp.{yaml,json}。见author’s tmuxp configs和 项目'tmuxp.yaml。
运行自定义启动脚本(例如在 正在加载tmux。参见bootstrap_env.py和before_script示例
您还可以通过传递-dflag在后台加载会话
捐款
你的捐赠基金开发新功能,测试和支持。 你的钱将直接用于项目的维护和开发。 如果你是一个个体,你可以自由地付出一切 从项目中获得的价值。
请参阅https://git-pull.com/support.html上的捐赠选项。
项目详细信息
tmux support | 1.8, 1.9a, 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7. 2.8 |
python support | 2.7, >= 3.3, pypy, pypy3 |
config support | yaml, json, python dict |
Source | https://github.com/tmux-python/tmuxp |
Docs | http://tmuxp.git-pull.com |
API | http://tmuxp.git-pull.com/en/latest/api.html |
Changelog | http://tmuxp.git-pull.com/en/latest/history.html |
Issues | https://github.com/tmux-python/tmuxp/issues |
Travis | http://travis-ci.org/tmux-python/tmuxp |
Test Coverage | https://codecov.io/gh/tmux-python/tmuxp |
pypi | https://pypi.python.org/pypi/tmuxp |
Open Hub | https://www.openhub.net/p/tmuxp |
License | MIT. |
git repo | ^{pr 8}$ |
install stable | ^{pr 9}$ |
install dev | ^{pr 10}$
See the developing and testing page in the docs for more. |
tests | ^{pr 11}$ |