Re:Chezmoi – Manage your dotfiles across multiple diverse ma...
by vladvasiliu on Monday August 29, 2022 @08:12AM
(#32637219)
You can edit them directly, you just have to "re-add" them so that chezmoi is aware of the change. Kinda like how you have to git add the files in a basic git repository.
Re:Chezmoi – Manage your dotfiles across multiple diverse ma...
by laurentlbm on Monday August 29, 2022 @09:46AM
(#32638168)
That's why I use https://yadm.io
It's basically a helper for a bare git repository plus some added features.
Re:Chezmoi – Manage your dotfiles across multiple diverse ma...
by DavideNL on Monday August 29, 2022 @01:21PM
(#32640861)
Thanks for the tip, looks interesting. Will check it out;
I'm still in doubt though, as git will work forever, "without" bugs, and be supported on any OS :-)
Re:Chezmoi – Manage your dotfiles across multiple diverse ma...
by shepherdjerred on Monday August 29, 2022 @11:27AM
(#32639428)
I edit my Chezmoi files directly. You can run `chezmoi diff` to see the differences between the Git state and what's actually on disk. I manually apply the changes that I want to keep, and then `git commit` + `chezmoi apply`
Re:Chezmoi – Manage your dotfiles across multiple diverse ma...
by prometheon1 on Tuesday August 30, 2022 @04:30AM
(#32647996)
I'm not a user, but was just checking out the docs and it looks like you can set it up so that you can still edit your files directly and "save" the changes automatically: https://www.chezmoi.io/user-guide/advanced/use-chezmoi-with-...
- https://www.atlassian.com/git/tutorials/dotfiles
- https://www.ackama.com/what-we-think/the-best-way-to-store-y...