GregKaleka / zmux

A tmux parameterizer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zmux

PyPI Changelog Tests License

A tmux parameterizer

Zmux provides a simple way to parameterize commands across several tmux panes. A simple example:

$ zmux launch "ls {directory}"
Supply up to 6 values for directory: ., zmux

πŸ’… Creating tmux layout

πŸš€ Sending command to pane 1/2
πŸš€ Sending command to pane 2/2
% ls .
LICENSE         setup.py        zmux
README.md       tests           zmux.egg-info

______________________________________________________

% ls zmux
__init__.py     __main__.py     __pycache__     cli.py

Installation

Installation using pipx is recommended:

pipx install zmux

Or using pip:

pip install zmux

Usage

For help, run:

zmux --help

You can also use:

python -m zmux --help

Development

To contribute to this tool, first checkout the code. Then create a new virtual environment:

cd zmux
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

pytest

About

A tmux parameterizer

License:Apache License 2.0


Languages

Language:Python 100.0%