An open API service indexing awesome lists of open source software.

https://github.com/hdonnay/hmln

Homelink - scripts to store dotfiles in a git repository.
https://github.com/hdonnay/hmln

Last synced: about 2 months ago
JSON representation

Homelink - scripts to store dotfiles in a git repository.

Awesome Lists containing this project

README

        

hmln v2
====

hmln v2 is a complete re-write of hmln in perl and utilzing git
submodules, instead of bash and git branches.

This re-thinking of hmln uses individual git repos for specific configs
for programs. For example, one for vim, and one for zsh.

The largest changes are that the configs are stored in one file and
that link is now performs git actions for you, minimizing the need to
manually interact with git.

Instructions
------------

Required perl modules:

* FindBin
* Config::GitLike

The install process should go something like this:

% mkdir .dotfiles && cd .dotfiles
% git init .
% git remote add hmln https://[email protected]/hdonnay/hmln.git
% git remote add origin git@git-host:me/dotfiles.git
% git pull hmln master
% ./link add git@git-host:me/vim.git
% git commit -am "Initial commit"
% git push origin master

The process is much simpler to install an existing hmln repo on a new
machine:

% git clone git@git-host:me/dotfiles.git .dotfiles
% cd .dotfiles
% ./link init

To update hmln, just pull from the hmln repo:

# If not already added:
% git remote add hmln https://[email protected]/hdonnay/hmln.git
% git pull hmln master

hmln v1
-------

To fetch the old version, either checkout the 'old' branch or grab a v1
tarball:

% wget https://github.com/hdonnay/hmln/tarball/v1