4 ms·
I only glanced it over, but I'm having a hard time seeing the advantage of this over shell scripts calling tmux commands.
by kaens 14y ago
I only glanced it over, but I'm having a hard time seeing the advantage of this over shell scripts calling tmux commands.
- remi 14y agoYou could achieve the same thing with shell scripts, but one of teamocil’s advantages is that it gives you the simplicity of YAML to build complex layouts.
- kaens 14y agoIt's definitely a well-done, and I'll be pointing new users of tmux at it. I would have been all over it if I would have seen it the first time I dove into tmux's man page way back when. If I get a chance, I'll give a go at converting the scripts for some of the layouts I use all the time, and see if it sticks.
- eridius 14y ago"simplicity of YAML" Spoken like someone who's never actually looked into how complex YAML can be.
- kaens 14y agoI don't see how someone could possibly write a tool like this without being aware of YAMLs potential complexity. Well, I suppose it's possible, but it seems extremely unlikely.
- zurn 14y agoThese days it's very easy to use a simple api without knowing about the dragons lurking beneath the surface. Flip side of our "reusable components" holy grail.
- th 14y agoI agree. It takes surprisingly few lines of code to make a nice wrapper with some shortcut aliases/functions to simplify the scripts. My whole tmux workflow is managed by about 30 lines of code to bootstrap by tmux session management: https://github.com/treyhunner/tmuxstart/blob/master/tmuxstart https://github.com/treyhunner/tmuxstart/blob/master/tmuxstar...