tmux-compose is yet another tmuxinator alternative.
- Start your tmux sessions from the defined config file
- Built with TypeScript
npm install -g tmux-composeCreate a config file: tmux-compose.yaml.
# tmux-compose.yaml
# Session name
name: my-session
# Root directory of your project(optional)
root: ./
windows:
# Window name and commands to run
editor: vim
dev: npm run devRun the following command to start the session in same directory.
$ tmux-compose startmy-session will be created and attached to the session.
-c option is available to specify the config file.
$ tmux-compose start -c tmux-compose.yamlMIT
Prerequisites:
- Node.js
- Bun
Tasks:
bun install: Install dependenciesbun run test: Run testsbun run build: Build