-
Notifications
You must be signed in to change notification settings - Fork 101
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
Environment variable for root
does not work
#119
Comments
This happens because the file is not 'parsed' by the shell, when you use commands on the terminal, the shell can look up the variable I've created a pull request here: #121 but the tests aren't running and I'm not really sure why but the commits add a grand total of ~3 lines (including documentation note) enabling ERB support in the YAML config files. This allows you to do something like this instead: windows:
- name: some-name
root: <%= ENV['WORKSPACE'] %>
layout: even-horizontal
... snipped... I'm unsure if it'll make it in the actual project, for now - I've created a fork which is at the time of writing on version 1.4.2. To install the fork, one should first |
I'm trying to use teamocil with the
root
setting in my config. I have something like this:I have
$WORKSPACE
set to~/dev/workspace
and exported in my shell config (I'm using fish) but this is not working.Running with the debug flag I see
Instead of resolving the variable to a path, it's instead appending it to my current directory and creating an invalid path.
Is this something that can be fixed?
The text was updated successfully, but these errors were encountered: