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.
 
 
dependabot[bot] 333b41d3f8
Bump golang.org/x/crypto from 0.21.0 to 0.31.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.21.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.21.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
.github/workflows Work (#13) 2 years ago
cmd update add command to link files automatically and deal with relative paths 1 year ago
test apply go formatting (#41) 1 year ago
tools apply go formatting (#41) 1 year 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
Dockerfile add dockerfile for development (#38) 1 year ago
LICENSE add license and readme 2 years ago
Makefile add rm command (#29) 2 years ago
README.md add dockerfile for development (#38) 1 year ago
go.mod Bump golang.org/x/crypto from 0.21.0 to 0.31.0 1 year ago
go.sum Bump golang.org/x/crypto from 0.21.0 to 0.31.0 1 year ago
main.go apply go formatting (#41) 1 year 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

Build From Source

Prerequisites

clone the repo and run script to build binary and copy it to your path

git clone https://github.com/Marcusk19/dotctl.git
cd dotcl
make install

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

Docker

You can also run the docker container that will set up a barebones shell for you to test dotctl with

docker built -d dotctl-dev .
docker run -it dotctl-dev
dotctl status