Hacker News new | ask | show | jobs
by kaens 4836 days ago
I only glanced it over, but I'm having a hard time seeing the advantage of this over shell scripts calling tmux commands.
2 comments

I 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/tmuxstar...
You 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.
It'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.

"simplicity of YAML"

Spoken like someone who's never actually looked into how complex YAML can be.

I 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.

These 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.