• one_old_coder@piefed.social
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 day ago

    But what on earth is all this managing enthusiasm surrounding them

    It looks like a fad, but when you use it once you can be hooked. I see this see as an additional step in automation and making sure your computer is properly set up.

    Having the same files across all machines is nice, and it’s backed up. You don’t have to think about it every day, at most once a week to check if a file has been changed and not pushed to git.

    Most of the time, you want to have the same .zshrc across all Linuxes and Macs. That’s where such a tool can be useful.

    Would one have a 100 versions of the same dotfile or what

    If it’s in a git repository, the latest commit (transparent if you use a tool) has your files. At most 20 unique files for me but all at the latest “git version.”

    Please explain a scenario where I would need one of those honking management tools

    If you want to save your dotfiles on git, or if you want to have the same configuration on multiple Linux machines.

    I don’t remember the commands but once a week I would do:

    chezmoi diff  # to check if a dotfile has not been backed up
    chezmoi add ...  # to add new or modified files
    chezmoi git push  # to save my modifications