Project

dotman

0.0
No commit activity in last 3 years
No release in over 3 years
Dotfiles Manager
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0
>= 0
~> 2.13.0
 Project Readme

Dotman Build Status

This gem allows you to switch between different dotfiles on the same user account.

Requirements

ruby 1.8, 1.9, 2.0

Installation

Download this repository:

git clone git@github.com:Timbinous/dotfiles.git

And then execute:

$ bundle

Or install it yourself as:

$ gem install dotman

Usage

To retrieve your dotfiles and store them:

dot clone <git repository> <alias>

To use cloned dotfiles:

dot use <alias> 

To list currently downloaded dotfiles:

dot alias list

or simply just

dot list 

To change the alias name:

dot alias rename <old alias name> <new alias name> 

To revert dotfiles back to original state:

dot use default 

To delete dotfiles collection:

dot delete <alias> 

To create a new dotfiles directory with all current dotfiles located in the HOME directory:

dot collect

To show the current user set for your dotfiles:

dot current

After Clone Hook

If you would like to execute a script after cloning down your dotfiles... Add the script as an executable file named .dotman.after_clone in the root of your dotfiles

Check the example in the examples folder

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request