Skip to content

Simple dotfiles manager working with git and rsync written in go.

License

Notifications You must be signed in to change notification settings

endstater/dotloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotloader Description

Simple dotfiles manager working with rsync and git written in go.

Install

Arch:

git clone https://github.com/endstater/dotloader.git
cd dotloader
makepkg -si

First start

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

Usage

dotloader <option>

options:

  • sync s - read $HOME/.config/dotloader/listen-dirs for dirs, sync them with local dotfiles repo, make dotfiles-dir/load.sh
  • load l - launch load.sh that sync local dotfiles repo with system
  • version v - print version
  • help h - print manual

Build and run

mkdir out
go build -o out
out/dotloader <option>

or

go run *go <option>

About

Simple dotfiles manager working with git and rsync written in go.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published