Giter Club home page Giter Club logo

dotrc's Introduction

Dotrc

About

The goal of this project is to keep all my rc files in sync regardless of the computer I'm using (granted it has git installed).

Installation

  1. Clone the project :

    $ git clone git://github.com/jrottenberg/dotrc ~/dotrc

  2. Run the symlink helper :

    $ ~/dotrc/createSymLinks.sh

  3. Enjoy !

Note : All your previous rc files are saved with date suffix, .bashrc.20110625-0049

Usage

You should fork the project if you want to keep track of your files and have your own preferences ;-)

New software that requires a config file ?

  1. Put that config file (minus the . in the dotrc fodlder)

  2. Run $ ~/dotrc/createSymLinks.sh

  3. From any of your computer installation propagate the good stuff through git transport (git push, git pull). I've made few aliases to make it easy :

    alias dotup="cd ~/dotrc && git pull origin master && cd -" alias dotpush="cd ~/dotrc && git push && cd -" alias dotci="git commit ~/dotrc"

Example : htop

  1. Run htop, the first time it will save default settings in ~/.htoprc
  2. Configure htop until ~/.htoprc describes really how you like it to be configured
  3. Copy .htoprc to the dotrc folder without the trailing dot $ cp ~/.htoprc dotrc/htoptrc
  4. git add and commit the file so we can start tracking the change
  5. Run the createSymlinks script
  6. You now have that htop configure to your liking everywhere you ran the createSymlinks script

dotrc's People

Contributors

jrottenberg avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

feriority

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.