A tool for combining tmuxp configs
A tool for combining tmuxp configs.
tmux is a great tool. In some cases, you would like to start it with preconfigured windows instead of creating them manually each time. tmuxp is a great tool for doing that.
I found out that in some cases I wanted to load only a subset of particular windows, so I wrote simple tool which combines the configs and calls tmuxp with combined config.
- cd .
- docker-compose up
- cd .
- npm run serve
Running the mysession in tmux only with nodejs window:
tmuxp-combine load mysession -w nodejs
Running the mysession in tmux only with nodejs and docker windows:
tmuxp-combine load mysession -w nodejs -w docker
Running the mysession in tmux with all windows:
tmuxp-combine load mysession
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.