The dots-cli
is a tool for quickly installing and linking groups of dotfiles across computers. In short, it allows you to do the following:
~/.dots
directory.Dot.toml
to specify where you want your dotfiles to be linked.First, you'll need to make sure you have cargo
installed. Visit their Installation Guide and follow their instructions. Once you have cargo
installed, run the following to install the dots-cli
:
bash
cargo install dots
Then, create a git repo with a Dot.toml
at it's root that describes where files in that repo should be linked. A simple Dot.toml
might looks something like this:
```toml [package] name = "webdesserts" authors = [ "Michael Mullins" ]
[link] bashrc = "~/.bashrc" bashprofile = "~/.bashprofile" ```
You can then add
your dotfiles from a repo like so...
bash
dots add git@github.com:webdesserts/dot.git
...and then use the install
command to link everything to their desired location.
dots install
You can run dots help
to see more commands. Feel free to check out my own dot for a better idea of what you can do with one.
There are two main problems with this repo as it is:
I'm currently working on both of these issues in the v1.x branch. If you have any other suggestions feel free to file an issue.