Skip to content

Instantly share code, notes, and snippets.

@powellc
Created August 20, 2010 19:48
Show Gist options
  • Save powellc/540995 to your computer and use it in GitHub Desktop.
Save powellc/540995 to your computer and use it in GitHub Desktop.
#!/bin/bash
# The purpose of this file is to, as quickly as possible, set up a home directory
# with all the creature comforts I expect.
#
# For this to work:
# 1. Add ssh keys to github and personal git repo
# 2. sudo aptitude install zsh git-core
mkdir $HOME/.virtualenvs
git clone git@github.com:powellc/dotvim.git .vim
ln -s $HOME/.vim/vimrc /home/powellc/.vimrc
# Fetch my documents folder and do some jiggering
git clone git@git.onec.me:documents.git docs
# Fetch my fork of Oh My! Zsh
git clone git@github.com:powellc/oh-my-zsh.git .oh-my-zsh
# Create a personal bin file and put a few tools in there
mkdir $HOME/.bin
git clone git://gist.github.com/581017.git $HOME/.bin/setip
chmod +x $HOME/.bin/setip/setip.sh
git clone git://gitorious.org/git-todo-py/mainline.git #HOME/.bin/todo
chmod +x $HOME/.bin/todo/todo.py
# Pull some rc files for screen, zshrc, etc...
git clone git://gist.github.com/581010.git $HOME/.screenrc
mv $HOME/screenrc/.screenrc $HOME
rm -rf $HOME/screenrc
git clone git://gist.github.com/581011.git $HOME/zshrc
mv $HOME/zshrc/.zshrc $HOME
rm -rf $HOME/zshrc
source $HOME/.zshrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment