In the tmuxinator configuration files, you can specify that several commands should be executed in the same shell, for example:
windows: - logs: - cd ~/project/log - tail -f db.log
Can you do the same with pre_window ? The following things did not work:
one.
pre_window: - cmd1 - cmd2
2.
pre_window: [ cmd1, cmd ]
3.
pre_window: - a: cmd1 - b: cmd2
Perhaps I missed something rather simple; I don't know YAML very well or understand a lot of tmuxinator implementation.
I already know (and am currently using)
pre_window: cmd1 && cmd2
I would like tmuxinator send each line separately.
tmux tmuxinator
mambocab
source share