You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Marcusk19 843385b004 add unit test for link command 2 years ago
.github/workflows update init command, don't automatically search, just create config file for cli (#11) 2 years ago
assets add license and readme 2 years ago
cmd add unit test for link command 2 years ago
test add unit test for link command 2 years ago
tools add add command (#12) 2 years ago
.gitignore add symlink command (#8) 2 years ago
LICENSE add license and readme 2 years ago
Makefile add unit test for link command 2 years ago
README.md update README 2 years ago
go.mod add symlink command (#8) 2 years ago
go.sum add symlink command (#8) 2 years ago
main.go first commit 2 years ago

README.md

Bender

A cli tool to manage your dotfiles

About

Bender is a tool to help you easily manage your dotfiles and sync them across separate machines using git. It aims to abstract away the manual effort of symlinking your dotfiles to config directories and updating them with git.

Installation

  • TBD

Usage

# init sets up the config file and directory to hold all dotfiles
bender init --dotfile-path=/path/to/dotfile/repo
# add a config directory for bender to track
bender add /.config/nvim
# create symlinks
bender link

Development

It's preferable to create a temporary directory and copy your system's config directory over to avoid making undesirable changes to your system. A couple of useful makefile scripts exist to set up and tear down this. It will create a testing directory in ./tmp/config and copy your system configs over.

make sandbox # creates the directory and copies over from ~/.config
make clean # removes directory