Giter VIP home page Giter VIP logo

dotfiles's Introduction

Check out these awesome ruby and rails screencasts! There is 1 15 minute cast released every week as well as either a 2 Minute Ruby or a 2 Minute Rails screencast!

The Rubylove Dotfiles

I have a confession to make. I am a thief. I steal great ideas and source code and make it my own. Want to know who I have been influenced by and stolen from? Check out my extensive thank you in my ruby manifesto.

My philosophy is this, test, integrate, extend. And to me, workflow is essential. Therefore I am always on the look out for better tools and workflows and my dotfiles are an extension of that.

What is included?

"dot" files

The following "dot" files are included.

  • ackrc
  • gemrc
  • gitignore
  • vimrc
  • zlogin (empty)
  • zshrc

Homebrew, Vim, Chruby, Ruby and proper paths and shit!

This script assumes you are running a mac. It will set up the following if you have not already installed it:

A proper prompt

Knowing what directory you are in is vital. Knowing what git branch you are in is just_as_important!

Your prompt will look like this when you are in a git directory and the tree is clean:

It will look like this when your tree is dirty

Stop using rvm and rbenv

Uninstall RVM and rbenv. Do it now cavewomen and cavemen. This will install chruby with is much_better. It doesn't mess with your paths and I added some yummy goodness... Check out the link to chruby above to see why.

No mas bundle exec, gemsets, or system gem collisions!

This setup includes an alias for bundling gems with binstubs (no bundle exec crap) in the local directory you are in. It will automatically be at the front of your path, so cd into your ruby app with a gemfile, then.....

b
Fetching gem metadata from https://rubygems.org/. ........
Fetching version metadata from https://rubygems.org/..
.....

Yes, you bundle by just typing b... did I mention I am a lazy bastard?

More cool aliases:

Want to see your aliases? In any unix based system just type alias and it will print them out. With this you get even more access!!!

When you type aliases and hit return it opens you aliases in vim!

Vim goodness

Vim is configured to actually be useful here, and without installing bloated things like janus that will run slow as mucky muck. fuck the mucky muck.

Even cooler is when you want to edit your vimrc file you just type ,v in vim and it will open it. Close your vimrc with a write and it will reload it in vim!

Installation

Installation is easy. Clone, cd, rake, profit.

cd && git clone https://github.com/thatrubylove/dotfiles.git && cd ~/dotfiles && rake

Please Note

You need to go into your gitconfig file and under [user] change your name and email. Then go down to bottom of file, and change your [github] username to reflect your GitHub user name.

dotfiles's People

Contributors

thatrubylove avatar jimokelly avatar joemsak avatar lanewatson avatar mgrevare 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.