Sync config files between desktop and laptop
Shell Vim script Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.i3
.ipython/profile_default
.notes
.Xdefaults
.bashrc
.gitconfig
.gitignore
.inputrc
.vimrc
readme.rst

readme.rst

config

I use a git repo and ghar to sync the config files on my desktop and laptop. And to set up new computers.

To set up a new computer, first install ghar:

$ cd ~
$ git clone https://github.com/philips/ghar.git
$ export PATH=$PATH:`pwd`/ghar/bin/

You may wish to make the previous line permanent by adding the following to your .bashrc (or .bash_profile):

export PATH=$PATH:~/ghar/bin/

Then clone my (or your) config repo(s):

$ cd ghar
$ git clone git@github.com:kwgoodman/config.git

Next tell ghar to install (symlink) your config files:

$ ghar install

Let's check the status:

$ ghar install --status

ghar does not overwrite existing files so move your existing config files (such as .bashrc) before running ghar install.