Simple dotfiles manager working with rsync and git written in go.
Arch:
git clone https://github.com/endstater/dotloader.git
cd dotloader
makepkg -si
add dirs to $HOME/.config/dotloader/listen-dirs
example:
$HOME/.config/nvim
$HOME/.config/yay
$HOME/file.txt
/etc/NetworkManager/NetworkManager.conf
add repo to $HOME/.config/dotloader/dotloader.conf
example:
dotfiles-dir = $HOME/projects/my-dotfiles
dotloader <option>
options:
syncs- read$HOME/.config/dotloader/listen-dirsfor dirs, sync them with local dotfiles repo, make dotfiles-dir/load.shloadl- launchload.shthat sync local dotfiles repo with systemversionv- print versionhelph- print manual
mkdir out
go build -o out
out/dotloader <option>
or
go run *go <option>