tmux-compose
is yet another tmuxinator alternative.
- Start your tmux sessions with one command from the defined config file
- Built with TypeScript/Node.js
npm install -g tmux-compose
Create a config file: tmux-compose.yaml
.
# tmux-compose.yaml
# Session name
name: my-session
# Root directory of your project(optional)
root: ./
# Windows
windows:
editor: vim
server: npm run dev
Run the following command to start the session.
$ tmux-compose start
my-session
will be created and attached to the session.
-c
option is available to specify the config file.
$ tmux-compose start -c tmux-compose.yaml
MIT