Skip to content

kwgoodman/config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Sync config files between desktop and laptop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published