chaopeng / dotfiles

Apache License 2.0
3 stars 0 forks source link

How to manage my dotfiles better #1

Open chaopeng opened 6 months ago

chaopeng commented 6 months ago

I just write this doc to dump thought in my brain, not sure when I will update how to manage my dotfiles.

Background

I am using this repo (and submodule for nvim, and private repo) to manage across many devices (> 6). Device running in different platforms:

Dotfiles provides me same (mostly) experience across device. And easy setup for new device. Currently, it is based on stow.

Pros / Cons

Pros

Cons

Any Soultion

  1. check any tools fix my https://dotfiles.github.io/utilities/
  2. build my own, I may prefer this one, it is not much work and fun.
chaopeng commented 6 months ago

If I build my own program to manage the syslink, the first problem need to solve would be broken link. For example:

To resolve this we need to walk the whole file tree, need to ensure this is not too slow. Also need to ensure, we don't delete the link if it is updated, eg. bsh tasks runs earlier than bash task.