Skip to content
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

[FEATURE] Allow using standard directories #258

Open
flying-sheep opened this issue Jun 9, 2023 · 0 comments
Open

[FEATURE] Allow using standard directories #258

flying-sheep opened this issue Jun 9, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@flying-sheep
Copy link

Is your feature request related to a problem? Please describe.
Same problem as in #229: some applications use OS standard directories as explained in the directories crate’s docs

Describe the solution you'd like

  • If not already possible (didn’t see it in the docs) allow using variables in {settings,profiles.*}.dots.*.target
  • pre-define variables for standard directories as exposed by the directories crate.

With this, the problem described in #229 would be as easy as:

[settings.dots]
vscode = { source = "editor/vscode.json", target = "%config_dir/Code/User/settings.json" }

Describe alternatives you've considered
#229 or a way to programmatically define profiles/variables

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants