My dotfiles repo mirrors my $HOME (like a lot of dotfiles repos i guess), so my dot.yaml currently consists of:
links:
filename: ~/filename
And it's just a bunch of thing: ~/thing for every file or folder that exists in the repo.
Would it be possible to do
copy to: ~/
links:
- filename
- other filename
maybe with a different key than links to avoid parsing complexity (idk if rust is like Go where decoding YAML into a data structure imposes somewhat strict requirements on the shape of the input yaml data)
I can whip up a PR