Skip to content
todots is a simple CLI writen in Go to make a copy of your dotfiles.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd
copier
.gitignore
LICENSE
README.md
go.mod
go.sum
main.go

README.md

ToDots

todots is a simple CLI writen in Go to make a copy of your dotfiles.

Installation

$ go get -u github.com/danielkvist/todots

Or

$ go install github.com/danielkvist/todots

Usage

todots --dst ./backup

Or

todots

todots by default looks for a configuration file that should be on your $HOME directory called .todots.yaml. However you can specify another file using the --config flag

todots --config myconfig.yml

Configuration file

Here's an example of what your configuration file should look like:

The paths need to be relative to your $HOME.

vim: .vimrc
fish: .config/fish/config.fish

You can see an example of the final result here.

You can’t perform that action at this time.