Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running itermocil inside itermocil #137

Open
sourabh-bcg opened this issue Feb 21, 2023 · 0 comments
Open

Running itermocil inside itermocil #137

sourabh-bcg opened this issue Feb 21, 2023 · 0 comments

Comments

@sourabh-bcg
Copy link

sourabh-bcg commented Feb 21, 2023

I have a few configs like these

proj1.yml

windows:
  - name: "..."
    root: ~/proj1
    layout: even-vertical
    panes:
      - name: "pane1"
        commands:
          - make
        focus: true
      - name: "pane2"
        commands:
          - npm start

where proj1 changes to support a few projects (with some alteration in commands of panes as well)
I made an alias export i="itermocil --here" to run it as $ i proj1

Now i proj1 and i proj2 work fine but I wanted a way to run all of them together so i wrote another config

all.yml

windows:
  - name: "proj1"
    root: ~/proj1
    panes:
      - name: 'proj1'
        commands:
          - i proj1
  - name: "proj2"
    root: ~/proj2
    panes:
      - name: 'proj2'
        commands:
          - i proj2

Now this commands runs all the commands of panes but instead launches all the panes in last terminal tab instead of running proj1 in first tab and proj2 in second tab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant