Delegate dotfile management to Chezmoi. I don't have to think about where things belong in this repo anymore.
Cons:
External program necessary to setup everything becomes a setup chicken-egg problem. This already exists to a degree because of the requirement for Git, but I've gotten around that by just having a browser or HTTP client to download the archive from https://github.com/colindean/hejmo/archive/refs/heads/master.zip and then running the setup process in the README (something I've lazily kept manual). HOWEVER, this is essentially a single command, $ sh -c "$(curl -fsLS git.io/chezmoi)" in sh or (iwr -UseBasicParsing https://git.io/chezmoi.ps1).Content | powershell -c - for Windows powershell. Then, after initial setup, my scripts could install the version from a package manager.
https://www.chezmoi.io/docs/how-to/
Pros
Delegate dotfile management to Chezmoi. I don't have to think about where things belong in this repo anymore.
Cons:
External program necessary to setup everything becomes a setup chicken-egg problem. This already exists to a degree because of the requirement for Git, but I've gotten around that by just having a browser or HTTP client to download the archive from
https://github.com/colindean/hejmo/archive/refs/heads/master.zip
and then running the setup process in the README (something I've lazily kept manual). HOWEVER, this is essentially a single command,$ sh -c "$(curl -fsLS git.io/chezmoi)"
in sh or(iwr -UseBasicParsing https://git.io/chezmoi.ps1).Content | powershell -c -
for Windows powershell. Then, after initial setup, my scripts could install the version from a package manager.