Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: default path / script exec #4

Closed
kergoth opened this issue Jul 19, 2011 · 3 comments
Closed

Feature request: default path / script exec #4

kergoth opened this issue Jul 19, 2011 · 3 comments

Comments

@kergoth
Copy link

kergoth commented Jul 19, 2011

I love the simplicity of teamocil, but tmuxinator has a nice feature whereby you can set the default path for the session (what it refers to as the "project root"). It'd be nice if there was either an option for this, or a way to execute arbitrary shell or tmux commands during the setup (tmuxinator provides arbitrary shell command execution via 'pre').

@remi
Copy link
Owner

remi commented Jul 20, 2011

Excellent idea! I currently have this layout file:

windows:
  - name: foo-api
    splits:
    - cmd:
      - "cd ~/Code/foo/foo-api"
      - "git status"
    - cmd:
      - "cd ~/Code/foo/foo-api"
      - "tail -f log/test.log"
      width: 50

But with your suggestion, I could set up a root key and skip the two "cd …" commands. It’s something I’ll definitely do, thanks!

@remi
Copy link
Owner

remi commented Jul 20, 2011

Aaaaaand, it’s done!

8823113

It’s now in teamocil-0.1.7, which has just been pushed. Thanks again for the suggestion, I think it’s a great feature!

@remi remi closed this as completed Jul 20, 2011
@kergoth
Copy link
Author

kergoth commented Jul 20, 2011

Thanks for the quick implementation!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants