-
Hi, I was trying to implement a user name independent config file using
But this results in the error: A'm I right you can not use environment variables in the config file, of is this a bug. Or do you have any suggestions to make a user independent configuration. == Feek |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
You're in luck - less than a week ago we merged a PR that supports relative paths 😄 You can't use environment variables in the values, but you can use relative paths. So in this case, just do |
Beta Was this translation helpful? Give feedback.
-
Great @RamiAwar , that's working, But now how do I prevent adding a new snippet using
So now it is not user name independent anymore. == Feek |
Beta Was this translation helpful? Give feedback.
-
sorry my mistake, the full path was inserted by my previous settings without |
Beta Was this translation helpful? Give feedback.
You're in luck - less than a week ago we merged a PR that supports relative paths 😄
You can't use environment variables in the values, but you can use relative paths. So in this case, just do
SnippetFile = "~/.config/pet/snippet.toml"
and it should work! Lmk