Skip to content

Using environment variable in the config.toml file #330

Answered by RamiAwar
feekApp asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by feekApp
Comment options

You must be logged in to vote
2 replies
@RamiAwar
Comment options

RamiAwar Dec 1, 2024
Collaborator

@feekApp
Comment options

Comment options

You must be logged in to vote
3 replies
@RamiAwar
Comment options

RamiAwar Dec 2, 2024
Collaborator

@RamiAwar
Comment options

RamiAwar Dec 3, 2024
Collaborator

@feekApp
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants