remi / teamocil

There's no I in Teamocil. At least not where you think. Teamocil is a simple tool used to automatically create windows and panes in tmux with YAML files.
MIT License
2.36k stars 101 forks source link

Teamocil seems to be creating an additional window #46

Closed killtheliterate closed 11 years ago

killtheliterate commented 11 years ago

I've set up a yml file which launches configures my TMUX session nicely, though an additional window is already created, regardless of yml file. I've tried the most basic configuration, which ought to only create 3 windows, but it creates 4.

windows:
  - name: "a-window"
    panes:
      - cmd:
  - name: "another-window"
    layout: tiled
    panes:
      - cmd:
      - cmd:
  - name: "another-another-window"
    layout: main-vertical
    panes:
      - cmd:
      - cmd:
      - cmd:
ffjia commented 11 years ago

Yep, I also found this is a little annoying. Is this because users have to launch Teamocil inside Tmux?

spap commented 11 years ago

@killtheliterate @ffjia try it with --here

killtheliterate commented 11 years ago

the --here flag works for suppressing the creation of an additional window, though it still strikes me as weird that this isn't default behavior.