Code Monkey home page Code Monkey logo

dotfiles's Introduction

Installing

Clone this repository somewhere, i.e.:

git clone https://github.com/acornejo/dotfiles.git $HOME/.dotfiles

Next, run the included install.sh to create all appropriate links:

$HOME/.dotfiles/install.sh

Enjoy!

Uninstalling

First, clean-up the links using the uninstall command:

$HOME/.dotfiles/install.sh -u

Next, delete the repository

rm -fr $HOME/.dotfiles

Customizing

Fork this repository and add your own dotfiles!

To prevent certain files (like this readme) from being linked, list them inside an .exclude file inside the containing directory.

Create a '.linkdir' file inside any directory that you wish to to link, instead of just linking the individual files it contains (default behavior).

Use '.hook-pre' and '.hook-post' scripts to perform any additional configuration steps you want to perform before restoring a folder from your dotfiles.

Per-Host or Per-OS customization

Use directories named host-${HOST} and uname-${OS} inside your dotfiles directory, with the corresponding .hook-pre and .hook-post scripts if needed. For example, create a directory called host-macbookalex to store all dotfiles specific to a machine named macbookalex, and create a directory called uname-Linux to store all dotfiles specific to Linux machines.

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.