Post #1727910
2026-04-25 21:52 UTC
Replies (2)
-
@CrinkleSix@cubhub.social 2026-04-25 22:20
@Rusty @odoben Yeah I had some ancient git-based dotfiles framework that's probably similar to the other one that was linked but also completely different, because that's just how those things go >.< Anyway after the initial push to mostly-set up a new machine, I never actually maintain it or sync anything beyond that and they gradually drift apart. But I did at least make a half-hearted effort to have the end of my .zshrc reference a ".local.zsh" that has the, well, local stuff, that's not committed to the repo.
-
@okapi@fosstodon.org 2026-04-26 05:57
@Rusty @odoben I use git branches and merges to separate dot files for separate platforms. Start with a common empty parent commit so merges work. Then I have branches for each tool - base/zsh, base/vim etc. Then for platforms, branches like mix/work/laptop, mix/home etc. If something is specific to a platform, I commit it there. Otherwise it goes on the base branch and is merged in. Have done this for quite some years and it works well.