GithubHelp home page GithubHelp logo

.dotfiles's Introduction

dot dotfiles

Danne's dotfiles. Make yourself at home.

Installation

Prerequisites

  • Git for version control
  • Curl for HTTP network communication
  • Ruby for systems automation
  • RVM for Ruby version builds and management

Before setting this up, you'll really want to have the above tools installed. If using Ubuntu Linux, the following command should get these lined up for you:

$ sudo apt-get install git curl ruby

Next, RVM is installed with:

$ \curl -L https://get.rvm.io | bash -s stable --ruby

Once you have RVM available, clone this repository into your new home folder

$ git clone https://[email protected]/linenoise/.dotfiles.git

Next, link the freshly cloned dotlings into their new homes

$ ./.dotfiles/install

This will go through and backup any existing dotfiles into ~/.dotfiles/backups.

Maintenance

Before making any changes to the dotfile collection on github, you'll need to setup your SSH keys to be able to read from the repository. Once this is in place, change from the read-only HTTP url to the read/write GIT url with the following:

$ git remote set-url origin git://github.com/linenoise/.dotfiles.git

Once this is in place, you can make any changes you like to the dotfile repository:

To add a dotfile to this collection, run:

$ dotadd .screenrc

To remove a dotfile from this collection, run:

$ dotrm .screenrc

To push a change on a dotfile to the github repo, run:

$ dotpush .screenrc "here is a description of what I changed"

To sync dotfiles with the github repo, run:

$ dotpull

To see which files have local changes, run:

$ dotstat

To see what's changed in a local tile, run:

$ dotdiff .screenrc

Documentation

Utility documentation is available in the doc/ directory, autogenerated from source comments. To regenerate this documentation, run:

$ rdoc install uninstall bin/* -N

Uninstallation

Do the above in reverse:

$ ./.dotfiles/uninstall

This will tell you if it had trouble restoring any backed up files. You may need to handle some of those manualy.

$ rm -rf ~/.dotfiles

Have fun!

License

.dotfiles is available under the GNU GPL, version 3. Full details are in LICENSE.txt in this distribution.

.dotfiles's People

Contributors

linenoise avatar qrkourier avatar

Watchers

 avatar  avatar

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.