A tmux parameterizer
Project description
zmux
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
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
zmux-0.1.tar.gz
(7.5 kB
view details)
Built Distribution
zmux-0.1-py3-none-any.whl
(7.9 kB
view details)
File details
Details for the file zmux-0.1.tar.gz
.
File metadata
- Download URL: zmux-0.1.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4b0065039d220e1304e4d3358fd6b8ff738b4fc4b072db818c39060c6ec6a0a |
|
MD5 | d40864ea58b9a542c0827a18d00a6aa6 |
|
BLAKE2b-256 | 730edf16c3b5beb3c998fb7ee9e6807b1907beb2c995b16410e68eb99f037d4c |
File details
Details for the file zmux-0.1-py3-none-any.whl
.
File metadata
- Download URL: zmux-0.1-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24817d799b424eaef291ab89e5c523336669afe3f0180a16990a97a8c3362579 |
|
MD5 | 1ea9d1d21fdfb022b8b0fcbb312362e1 |
|
BLAKE2b-256 | ae9b7a7c9ed2162a8df3486a24c9b8fc04acbee15c600902648dde3796e27b19 |