mirror of https://github.com/Marcusk19/dotctl
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.
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.19.0 to 0.23.0. - [Commits](https://github.com/golang/net/compare/v0.19.0...v0.23.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> |
2 years ago | |
|---|---|---|
| .github/workflows | 2 years ago | |
| cmd | 2 years ago | |
| test | 2 years ago | |
| tools | 2 years ago | |
| .gitignore | 2 years ago | |
| .goreleaser.yaml | 2 years ago | |
| .pre-commit-config.yaml | 2 years ago | |
| LICENSE | 2 years ago | |
| Makefile | 2 years ago | |
| README.md | 2 years ago | |
| go.mod | 2 years ago | |
| go.sum | 2 years ago | |
| main.go | 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
dotctl sync -r <remote-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