-
-
Notifications
You must be signed in to change notification settings - Fork 104
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
[help] Using variables in config section #346
Comments
No, unfortunately it is not possible to use variables in I'm however surprised by the second error you get since I cannot reproduce it. Whenever I use a variable in |
Yes, the second error was a problem with my config. For, the first one I just thought I can keep my config file anywhere and not on the same directory as |
@RayZ0rr I added support for templating the config:
dotpath: "{{@@ env['SOME_VAR'] @@}}" or config:
dotpath: "{{@@ val @@}}"
variables:
val: "/tmp/xyz" This will be part of the next release |
@RayZ0rr this is now available in version v1.9.0 |
What I am trying to achieve
I have an environment variable in
.bashrc
like this:I want to use it with my dotdrop config like this:
But this environmental variable doesn't get evaluated,
Then I changed it like this:
But I get the error:
Is it possible to use variables here?
The text was updated successfully, but these errors were encountered: