Code Monkey home page Code Monkey logo

dotfiles's Introduction

My dotfiles

Just a bunch of dotfiles I've collected over the years. The primary purposes of this repository for me is to:

  1. keep the setup time of a new machine to under 10 minutes
  2. keep multiple machines in sync (home vs office laptop)

By convention, I create a new branch when I join a new company (from the HEAD of the last company I was at) and set it as the repo's main branch in Github. I used to try to keep the master branch clean without company specific aliases etc, but it was not worth it; way better to pay the cost of removing company specific stuff once every few years rather than try to keep separate over several hundred commits.

My Workflow

This is what I typically run on a brand new machine to get it setup:

  1. git clone [email protected]:entombedvirus/dotfiles.git ~/cl # some scripts in the repo assume the ~/cl path
  2. cd ~/cl/
  3. ./install.sh # this installs all the packages needed for my dev env using homebrew and apt-get
  4. ./linkify # this creates symlinks to files inside cl repo. ex: $HOME/.vimrc -> $HOME/cl/vim/.vimrc etc

Note on automatic symlink creation

The automatic symlink creation is managed by GNU stow. In order to use it, you create a directory structure mirroring your home directory inside your dotfiles repo and then call stow. Check out this article if you're interested in more details.

Forking

If you're interested in using this repo as your starting point, please fork it instead of cloning it directly. I make no guarantees on backwards compatibility and often do break things as I find better ways to do things.

dotfiles's People

Contributors

entombedvirus avatar

Stargazers

Casey Chen avatar  avatar Christine Baek avatar Angus H. avatar Ilya Kamens avatar Matt Freels avatar

Watchers

James Cloos 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.