Project

dotstore

0.0
Low commit activity in last 3 years
A long-lived project that still receives updates
dotstore is an easy way to keep your dotfiles in sync between computers, using git for all the things that make sense to use git for, and scripts for the rest.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

dotstore is an easy way to keep your dotfiles in sync between computers, using git for all the things that make sense to use git for, and scripts for the rest.

Installation

gem install dotstore

Usage

  1. Keep your dotfiles in a git repository (or any repository, or any directory, maybe synced with dropbox) in .dotstore. Here's how I would initiate mine in a new environment:

      git clone http://github.com/jjb/dotfiles.git .dotstore
  2. invoke dotstore

    ➔ dotstore 
    == .bash_profile ==
    .bash_profile exists. Backing it up to .bash_profile-1281762101
    dotstorifying .bash_profile
    == .bashrc ==
    .bashrc exists. Backing it up to .bashrc-1281762101
    dotstorifying .bashrc
    == .irbrc ==
    .irbrc exists. Backing it up to .irbrc-1281762101
    dotstorifying .irbrc
    == .zshrc ==
    .zshrc exists. Backing it up to .zshrc-1281762101
    dotstorifying .zshrc

Notes

  1. Symlinks will only be created for dot files. non-dot files in .dotstore will be ignored.
  2. Therefore, you can keep any other flat files or directories in .dotstore and they will be ignored. For example, my dot files refer to other files in a directory tree in .dotstore.
  3. Existing files in your home directory are backed up. Existing symlinks to .dotstore or anywhere else are ignored.
  4. You can keep dot directories in .dotstore as well, they will be managed the same as files. (I don't have any applications that use dot directories however, so I've only done simple tests for this)

Future

  1. a command to seamlessly add existing dot files to the .dotstore directory.

publishing gem

gem build dotstore.gemspec
gem push dotstore-1.0.0.gem