Expand env variables in clink settings file #322
-
The clink settings file -- is there a way to expand env variables in it? The following doesn't work.
If it is not supported, could you count it as a feature request? It'd be useful for those who version-controls their config files. User-agnostic config is helpful. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 8 replies
-
Have you considered |
Beta Was this translation helpful? Give feedback.
-
I didn't mean to literally use "...". That was meant as "fill in the rest depending on what you're trying to do". My point was that you're trying to specify a path under your user profile directory, so you could replace the environment variable portion of the path with "~\appdata\local". |
Beta Was this translation helpful? Give feedback.
-
I version control my files. I go to extreme lengths with that. I've had my whole user config under source control for almost 30 years, and I nearly daily use source control to replicate config changes across 4 computers (and less frequently across VMs and USB memory sticks, etc). In Clink, due to its Unix roots, tilde is a good way to accomplish user agnostic config. Also, in whatever script where you set your other user-specific config environment variables, you could set CLINK_PATH. |
Beta Was this translation helpful? Give feedback.
-
@chrisant996 I forgot the whole thing about git completions. Updated both clink and clink-completions today and it works with Thanks for the updates. |
Beta Was this translation helpful? Give feedback.
Have you considered
~\appdata\local\clink...etc
?