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

"sh: Syntax error: ";" unexpected" #9

Closed
tylerball opened this issue Jan 9, 2012 · 6 comments
Closed

"sh: Syntax error: ";" unexpected" #9

tylerball opened this issue Jan 9, 2012 · 6 comments

Comments

@tylerball
Copy link

I'm getting this error when spawning any layout, no matter how simple or complex. I realize this is not much information for diagnosis, is there a verbose or debug mode for teamocil?

@remi
Copy link
Owner

remi commented Jan 9, 2012

Can you paste the content of the layout you are trying to spawn?

@tylerball
Copy link
Author

sample.yml doesn't even work.

session:                  
  name: "test"            
  windows:                
    - name : "window one" 
      root: "~/.teamocil"

@tylerball
Copy link
Author

By the way I'm using Ubuntu server 10.04 with RVM and Ruby 1.9.2-p290

@patricklewis
Copy link

The 'splits' section is mandatory for each window. This is the bare minimum that I was able to get away with:

session:
  name: "teamocil"
  windows:
    - name: "vim"
      root: "~/Projects/events/"
      splits:
        - cmd: "vim"

@remi
Copy link
Owner

remi commented Jan 31, 2012

Yes, the splits is mandatory, because Teamocil considers its first item as the main split for that window. All examples in the examples directory should work.

Teamocil should throw an error and not try to execute the list of tmux commands though.

@tylerball
Copy link
Author

Thank you. I've now modified my layouts and they are working fine. Indeed, a more meaningful error message would be great, I had no idea whether it had to do with teamocil, tmux or my shell environment.

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

3 participants