tmuxinator initialize pane with multiple commands

前端 未结 3 1412
难免孤独
难免孤独 2021-02-20 08:02

I am using Tmuxinator, and I was wondering is there anyway to initialize a Tmux pane using multiple commands?

Example

panes:
    - vim
          


        
3条回答
  •  猫巷女王i
    2021-02-20 08:27

    For particular using with virtualenv and if you don't want to include workon project && in every line, you can use pre_window, available from 0.6.0:

    pre_window: workon project

    Now before running any command, a workon project would be called first, allow you to have every new window in virtual environment.

提交回复
热议问题