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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

open layout in new session?

Kidlike opened this issue · comments

Hi,

I know this has been discussed before, but I don't understand the rational behind the "sessions are not really first-level citizens in Teamocil 1.0".

I'm gonna assume that this hasn't changed in 1.4.2 I'm currently using.

Correct me if I'm wrong, but from what I've read in the past issues, most people would expect that if a session name is declared and doesn't match the current one, it would open a new one.
(Maybe we can get around potential misunderstandings with a new option like "createNew: true" or something)

But anyway, the fact is that a crucial part of tmux management is missing from teamocil. Sessions.

Thoughts?

PS:
I have worked around this with a script. But it's really ugly and I want to get rid of it.
http://pastebin.com/cfGJjzTS
(don't ask why it's like that... there are reasons :])

Nevermind. I just discovered tmuxp. works great :)