Managed with chezmoi
. It can be used as an idempotent tool; can be applied multiple times without causing any conflict. It comes with a built-in git
to use if there's none in $PATH
.
Installing these dotfiles with chezmoi is very straightforward:
chezmoi init https://github.com/danmacode/dotfiles-win.git
chezmoi apply # will show diff before any overwrite
Or just ssh clone the repo into chezmoi's data folder and then download the submodules(if there are any).
git clone [email protected]:danmacode/dotfiles-win.git $HOME/.local/share/chezmoi
cd $HOME/.local/share/chezmoi
git submodule update --init --recursive
MIT