Tree @master (Download .tar.gz)
Run a command in a TMUX pane
Have you ever been working on your command line and wanted command or script to run in a 'popup' inside your command line? Do you use TMUX? Well, look no further!
This script provides a simple method for running a script in a new TMUX pane, without having to memorize a bunch of modifiers.
Using the software is simple.
run_in_split [OPTIONS] COMMAND Options: --horizontal Split pane horizontally. --sleep If true, sleep for five seconds after the command exits. --pause If true, pause until user presses enter. --pause-on-error If true, pause until user presses enter only if the process does not exit 0. --small Creates pane at 15% of total screen space --help Show this message and exit.
For example, to run a git push in a pane that will pause if the push fails:
run_in_split --pause-on-error git push
This package can be installed via pip, but is not hosted on pypi.
First, clone this repository:
git clone git://git.eclecticmedia.space/public/run_in_split
Then, from the resulting directory, simply run the setup script:
python setup.py install - OR - pip install .
If you need to include this package in your requirements.txt file, you can do so using the following line:
We use a git-native forking workflow. For more information on how that works, check this article.
Submit a pull-request by using git request-pull -p *FEATURE BRANCH* origin and attaching the subsequent text to an email addressed to email@example.com
Commit History @master
- Adds a README Ariana Giroux a month ago
- Updates to version 0.2! Ariana Giroux a month ago
- Created a small option, runs in small pane Ariana Giroux a month ago
- Added __init__.py file f/ module Ariana Giroux 4 months ago
- Added a gitignore Ariana Giroux 4 months ago
- Initial commit Ariana Giroux 4 months ago