Skip to content

link-dotfiles script for machine-specific files #12

Description

@tk755

Adapt YADM-style alt file syntax to define machine-specific files. No need to define what kind of condition it is (e.g. class, hostname, etc.), unlike YADM 2.0+, which is a change I'm not a fan of (I like short and simple names). For example:

.gitconfig##
.gitconfig##kawasaki
.gitconfig##work

Create a script link-dotfiles which dynamically resolves all alt-files which are tracked in this repo. It should resolve in the following order:

  1. hostname (e.g. "kawasaki")
  2. class (e.g. "work")
  3. default

link-dotfiles should be called by the bootstrap script and its functionality added to the docs.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    confignew or improved config filescriptnew or improved scripting

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions