In tmuxinator
config files, you can specify that multiple commands should be run in a single shell, e.g.:
windows:
- logs:
- cd ~/project/log
- tail -f db.log
Can you do the same with pre_window
? The following things have not worked:
1.
pre_window:
- cmd1
- cmd2
2.
pre_window: [ cmd1,
cmd ]
3.
pre_window:
- a: cmd1
- b: cmd2
I may be missing something fairly simple; I don't know YAML very well or understand tmuxinator
's implementation much.
I already know about (and am currently using)
pre_window: cmd1 && cmd2
What I'd like is for tmuxinator
to send each line separately.