johnreilly

www.flickr.com
john.reilly's items Go to john.reilly's photostream

dotfiles

Don’t know why I didn’t do this before.  The hot new thing is to put your dotfiles up on GitHub. Now it’s trivially easy to keep my terminal life in sync across my macs.

Here’s the link to my terminal bliss.

I forked Ryan Batesproject, since he’s got a nice rake task to install symlinks for each of the files, and I liked his file structure. I’ve added some svn aliases, more git shortcuts, and updated the git completion script to the latest version.  Also changed the bash prompt to show me what’s checked out when my current directory is a git repo. Here I’m in the master branch of my dotfiles project:

john@jeebus ~/src/dotfiles (master) 
$

Very handy.

So, getting a new mac tweaked to my liking is only three commands away.

john@jeebus ~/src 
$ git clone -o github git@github.com:johnreilly/dotfiles.git
Initialize dotfiles/.git
Initialized empty Git repository in /Volumes/Speedy/src/dotfiles/.git/
remote: Counting objects: 168, done.
remote: Compressing objects: 100% (80/80), done.
remote: Total 168 (delta 84), reused 163 (delta 79)
Receiving objects: 100% (168/168), 25.02 KiB, done.
Resolving deltas: 100% (84/84), done.
john@jeebus ~/src 
$ cd dotfiles
john@jeebus ~/src/dotfiles (master) 
$ rake install
(in /Volumes/Speedy/src/dotfiles)
linking ~/.bash
linking ~/.bash_profile
linking ~/.gemrc
linking ~/.gitconfig
linking ~/.gitignore
linking ~/.irbrc
linking ~/.railsrc

Loving it.

Comments (View)
blog comments powered by Disqus