GithubHelp home page GithubHelp logo

ianjuma / thoughtbot-dotfiles Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thoughtbot/dotfiles

0.0 1.0 0.0 183 KB

A set of vim, zsh, git, and tmux configuration files.

Home Page: http://robots.thoughtbot.com

License: Other

thoughtbot-dotfiles's Introduction

thoughtbot dotfiles

Requirements

Set zsh as your login shell.

chsh -s /bin/zsh

Install

First, fork this repo on Github.

Then, clone your Github fork onto your laptop and install it:

git clone [email protected]:your-github-name/dotfiles.git
cd dotfiles
./install.sh

This will create symlinks for config files in your home directory. If you include the line "DO NOT EDIT BELOW THIS LINE" anywhere in a config file, it will copy that file over instead of symlinking it, and it will leave everything above that line in your local config intact.

You can safely run ./install.sh multiple times to update.

Why fork?

You should be able to experiment with your own dotfiles, save them in version control, and still get updates from thoughtbot/dotfiles.

The master branch is for your customizations and the upstream branch is for thoughtbot's updates.

Set up the upstream branch

You only have to do this once:

git remote add upstream [email protected]:thoughtbot/dotfiles.git
git fetch upstream
git checkout -b upstream upstream/master

Make your own customizations

Put your customizations at the top of files, separated by "DO NOT EDIT BELOW THIS LINE."

For example, the top of your ~/.gitconfig might look like this:

[user]
  name = Joe Ferris
  email = [email protected]

# DO NOT EDIT BELOW THIS LINE

[push]
  default = current

The top of your ~/.zlogin might look like this:

# RVM
[[ -s '/Users/croaky/.rvm/scripts/rvm' ]] && source '/Users/croaky/.rvm/scripts/rvm'

# DO NOT EDIT BELOW THIS LINE

# recommended by brew doctor
export PATH="/usr/local/bin:/usr/local/sbin:$PATH"

Get thoughtbot's updates

Each time you want to include thoughtbot's changes:

git checkout upstream
git pull
git checkout master
git rebase upstream

Credits

Thank you, contributors!

thoughtbot

Dotfiles is maintained by thoughtbot, inc The names and logos for thoughtbot are trademarks of thoughtbot, inc.

Dotfiles is © 2009-2012 thoughtbot, inc. It is free software and may be redistributed under the terms specified in the MIT-LICENSE file.

thoughtbot-dotfiles's People

Contributors

jferris avatar mike-burns avatar qrush avatar foxyblocks avatar joshuaclayton avatar wolfeidau avatar

Watchers

 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.