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.35k stars 101 forks source link

teamocil --here does not create multiple windows #7

Closed cmhamill closed 12 years ago

cmhamill commented 12 years ago

Teamocil fails for me when invoking it with the --here flag. I end up with one window whose shell has tried to execute every command in my yaml file; the end result is a mess. It works fine without the --here flag.

teamocil version 0.2.1

Tha yaml file in question looks like this; perhaps something is wrong with it.

session:
  name: pim
  root: ~/
  windows:
    - name: mail
      root: ~/
      splits:
        - cmd: "sup-mail"
    - name: news
      root: ~/
      splits:
        - cmd: "newsbeuter"
    - name: chat
      root: ~/
      splits:
        - cmd: "irssi"
    - name: cal
      root: ~/
      splits:
        - cmd: "when"
    - name: todo
      root: ~/
      splits:
        - cmd: "task next"
remi commented 12 years ago

I wasn’t able to reproduce the behavior you describe, but there was definitely something wrong with the --here option. For me, the option was simply not working — only new windows were created.

I fixed it in v0.2.2, let me know if this solves your problem!

cmhamill commented 12 years ago

Fixed, thanks a ton.

Strange about the differing issues.

Anyway, thanks for the excellent software.