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 scriptTo get started, download this project.
git clone https://github.com/voraciousdev/dots && cd dotsNext, 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/davidSymlink your dotfiles to $HOME with the dots command.
./bin/dots davidTo 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