News for hackers. Stuff that matters.
Re:Yadm: Yet Another Dotfiles Manager by snapplebobapple on Sunday December 22, 2024 @02:12PM (#42488375)
Did chezmoi make it easy to edit and then add fileswith changes?i hated always having to chezmoi this and that rather than doing what i want then runn*ng yadm -u to pick up all the changes in my tracked files
Re:Yadm: Yet Another Dotfiles Manager by cweagans on Sunday December 22, 2024 @03:41PM (#42488915)
Pretty sure there are a couple of aliases that you could create to get you the workflow you want. I just edit my files on disk, chezmoi add file, then periodically fit commit and push them. You could create a post add hook to automatically git add/commit/push + I’m reasonably sure there’s a chezmoi command to list all tracked files, so you could iterate through all of them and do whatever you want with them.