Tmux Compose is a wrapper around tmux
to allow you to create workspace
quickly.
go install github.com/bmehdi777/tcomp/cmd/tcomp@latest
First, you will need to install Go.
Then :
git clone https://github.com/bmehdi777/tcomp
cd tcomp
make build
The binary will be located in the bin/
directory.
Every command can be seen with :
tcomp help
You can list every workspace located in your $HOME/.config/tcomp/workspaces/
:
tcomp list
or
tcomp ls
or
tcomp see
You can create manually your workspace (they are simple yaml files) in your
$HOME/.config/tcomp/workspaces/
folder but you can also generate them with
tcomp
:
tcomp new <WORKSPACE_NAME>
tcomp up <WORKSPACE_NAME>
or
tcomp up -f <PATH_TO_WORKSPACE>
tcomp down <WORKSPACE_NAME>
or
tcomp down -f <PATH_TO_WORKSPACE>