Skip to content

Allow links section to take a list instead of a mapping #335

@gwennlbh

Description

@gwennlbh

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions