Dottor is an unobtrusive command line tool for easily managing your dotfiles, without assumptions on how your dotfiles repository should be organized.
I designed dottor so that it would be easy to setup and use, reliable and work with existing dotfiles repos.
With Dottor you can:
- Get started with your current dotfiles repo, without changing anything.
- Specify different profiles, so that you can use it to symlink files in your dev machine as well as in your production boxes.
Dottor expect to find in your repo a YAML file named dottor_rules.yml (or you can specify a different path) with the following format
profile_name:
- source: <dotffile or directory>
target: <where do you want the file to be symlinked to>
- source: <dotffile or directory>
target: <where do you want the file to be symlinked to>All the actions performed by Dottor are based on the dottor_rules.yml file. For some examples, see the dottor_rules.sample.yml file. Check my dotfiles repo for a working example.
gem install dottor
dottor init
dottor symlink <profile_name>
dottor symlink <profile_name> -f <custom_path>
dottor symlink -d
- Fork the project.
- Create a topic branch.
- Implement your feature or bug fix.
- Add documentation for your feature or bug fix.
- Add specs for your feature or bug fix.
- Commit and push your changes.
Released under the MIT License. See the LICENSE file for further details.