4 ms·
If you like tmux, also check out teamocil (https://github.com/remiprev/teamocil https://github.com/remiprev/teamocil) to really enhance your use. It enables you
by jscheel 14y ago
If you like tmux, also check out teamocil (https://github.com/remiprev/teamocil https://github.com/remiprev/teamocil) to really enhance your use. It enables you to define tmux sessions via YAML, which is great for programmatically setting up a complex dev session. Mine, for example, fires up six panes in my preferred layout, and starts up a particular part of our project in each pane.
- petepete 14y agoAh, that looks excellent for more complicated setups. I've been using the slightly simpler tmuxinator. https://github.com/aziz/tmuxinator https://github.com/aziz/tmuxinator
- jscheel 14y agoI used to use tmuxinator, but it's pretty much abandoned. There are pull requests that are over a year old. On the other hand, I submitted a pull request to teamocil and it was merged the same day.
- js-coder 14y agoI'll actually help maintain tmuxinator now. :) The project is really awesome but the author doesn't have enough time for it, so he added me to the project a few days ago. I'll go through the pull requests soon.
- jscheel 14y agoThat's good to hear. I always hate to see good projects die because their creators are super busy. Good luck with taking things over!
- kevinastone 14y agoUpvote for the best named project I've ever seen.
- remi 14y agoTeamocil author here, glad you like it! :)
- christiangenco 14y agoHacker News, man. Everybody's on here.
- jamesbritt 14y agoSometimes it feels like the Marshall McLuhan scene in Annie Hall. http://www.youtube.com/watch?v=9wWUc8BZgWE http://www.youtube.com/watch?v=9wWUc8BZgWE
- kaens 14y agoI 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...
- th 14y agoIf you don't like the YAML format of teamocil or tmuxinator and just want to write shell scripts to do the same thing, check out tmuxstart: https://github.com/treyhunner/tmuxstart https://github.com/treyhunner/tmuxstart I made it shortly after switching to tmux last year. I hope this kind of functionality will eventually be built-in to tmux.
- sabat 14y agoThanks for that -- I could really use something like that.