- Go 1.11 or later
set -g base-index 1in your.tmux.conf- tmux 2.5 or newer
export GO111MODULE=on
go get github.com/pocke/ptmuxEdit ~/.config/ptmux/PROFILE_NAME.yaml
# Example
root: ~/path/to/your/project/dir
env:
DATABASE_URL: 'mysql2://username:topsecret@localhost/dbname'
windows:
- panes:
- command: 'bin/rails s'
- command: 'bundle exec sidekiq'
- panes:
- command: 'vim'
- command: 'bundle exec guard'$ ptmux PROFILE_NAMENOTE: The testing changes tmux options to test. it will set base-index to 1 and renumber-windows to on. It probably changes your tmux options.
If you do not want side effect, run tests in a docker container.
Run tests:
$ make test
Run tests in a docker container:
$ make docker_build
$ make test_with_docker
These codes are licensed under CC0.