Manage your dotfiles with ease, and pair with a parter if you want to.
dots [-fhlp] <profile>
-f Force removal of conflicting files in $HOME directory
-h Show usage/help information
-l List available profiles
-p Purge all symlinks created by this script
To get started, download this project.
git clone https://github.com/voraciousdev/dots && cd dots
Next, clone your dotfiles into the profiles
directory. It helps to give the project an alias, because profiles are named from the directory.
git clone https://github.com/voraciousdev/dotfiles ./profiles/david
Symlink your dotfiles to $HOME
with the dots
command.
./bin/dots david
To list available profiles, use the -l
flag. An active profile will be labeled as active
in the list.
$ dots -l
Available profiles:
- david (active)
To use it from anywhere, you need to symlink the file into your PATH
.
# assumptions:
# - you are in the dots git directory
# - you have /usr/local/bin added to your PATH
ln -s $(pwd)/bin/dots /usr/local/bin/dots