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.
 
 
Marcus Kok 3a6284e45e
add status command (#25)
* add status command

* new memmapfs on tests

* fixing all tests
2 years ago
.github/workflows Work (#13) 2 years ago
cmd add status command (#25) 2 years ago
test add status command (#25) 2 years ago
tools add add command (#12) 2 years ago
.gitignore add goreleaser config, update README (#21) 2 years ago
.goreleaser.yaml add goreleaser config, update README (#21) 2 years ago
.pre-commit-config.yaml adding gitleaks pre commit hook (#22) 2 years ago
LICENSE add license and readme 2 years ago
Makefile adding gitleaks pre commit hook (#22) 2 years ago
README.md add goreleaser config, update README (#21) 2 years ago
go.mod renaming to dotctl (#16) 2 years ago
go.sum Add sync (#14) 2 years ago
main.go renaming to dotctl (#16) 2 years ago

README.md

Dotctl

A cli tool to manage your dotfiles

About

Dotctl 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
dotctl init
# add a config directory for dotctl to track
dotctl add ~/.config/nvim
# create symlinks
dotctl link
# sync changes
dotctl sync -r <your-git-repo>

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