tmuxinator initialize pane with multiple commands

前端 未结 3 1460
难免孤独
难免孤独 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条回答
  •  南笙
    南笙 (楼主)
    2021-02-20 08:13

    This is supported from 0.6.6.

    name: sample
    root: ~/
    
    windows:
      - stats:
        - ssh stats@example.com
        - tail -f /var/log/stats.log
      - logs:
        layout: main-vertical
        panes:
          - logs:
            - ssh logs@example.com
            - cd /var/logs
            - tail -f development.log
    

    Please refer to https://github.com/aziz/tmuxinator#passing-directly-to-send-keys

提交回复
热议问题