# HG changeset patch # User Steve Losh # Date 1334343220 14400 # Node ID ba445956998f1df961b285dc97dbeff39c819cbd # Parent a244d44b172867d9a5adc05365a5a76eb6d859f6 Moar. diff -r a244d44b1728 -r ba445956998f .zshrc --- a/.zshrc Fri Apr 13 14:48:15 2012 -0400 +++ b/.zshrc Fri Apr 13 14:53:40 2012 -0400 @@ -58,7 +58,7 @@ export PYTHONPATH="$HOME/lib/hg/hg-stable:$PYTHONPATH" # Extra ---------------------------------------------------------------------- -source ~/lib/z/z.sh +source `brew --prefix`/etc/profile.d/z.sh # Pre-Prompt Command --------------------------------------------------------- function precmd () { diff -r a244d44b1728 -r ba445956998f bin/bootstrap.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bin/bootstrap.sh Fri Apr 13 14:53:40 2012 -0400 @@ -0,0 +1,61 @@ +#!/bin/bash + +# THIS IS A WORK IN PROGRESS +# BE CAREFUL, DAMMIT + +# Don't forget the SSH keys. +# Setuptools needs to be installed. + +mkdir -p lib/hg +mkdir -p lib/python +mkdir -p lib/virtualenvs +mkdir -p ~/bin +mkdir -p ~/src + +hg clone 'http://selenic.com/repo/hg#stable' ~/lib/hg/hg-stable +cd ~/lib/hg/hg-stable +make local +cd +export PATH="$HOME/lib/hg/hg-stable:$PATH" + +hg clone http://bitbucket.org/sjl/dotfiles ~/lib/dotfiles +git clone git://github.com/sjl/oh-my-zsh ~/lib/oh-my-zsh +git clone git://github.com/sjl/z-zsh ~/lib/z + +hg clone http://bitbucket.org/ianb/pip/ ~/lib/python/pip +cd ~/lib/python/pip +sudo python setup.py install +cd + +sudo pip install virtualenv + +hg clone http://bitbucket.org/dhellmann/virtualenvwrapper ~/lib/python/virtualenvwrapper +cd ~/lib/python/virtualenvwrapper +sudo python setup.py install +cd + +ln -s "$HOME/lib/dotfiles/zsh" "$HOME/lib/oh-my-zsh/custom" + +ln -s "$HOME/lib/dotfiles/.ackrc" "$HOME/.ackrc" +ln -s "$HOME/lib/dotfiles/.gitconfig" "$HOME/.gitconfig" +ln -s "$HOME/lib/dotfiles/.hgrc" "$HOME/.hgrc" +ln -s "$HOME/lib/dotfiles/vim" "$HOME/.vim" +ln -s "$HOME/lib/dotfiles/vim/.vimrc" "$HOME/.vimrc" +ln -s "$HOME/lib/dotfiles/.screenrc" "$HOME/.screenrc" + +rm ~/.zshrc +rm ~/.bashrc +rm ~/.bash_profile +ln -s "$HOME/lib/dotfiles/.zshrc" "$HOME/.zshrc" + +hg clone bb://sjl/hg-prompt/ "$HOME/lib/hg/hg-prompt" +hg clone bb://sjl/hg-paste/ "$HOME/lib/hg/hg-paste" +hg clone bb://sjl/hg-review/ "$HOME/src/hg/hg-review" +hg clone bb://ccaughie/hgcollapse/ "$HOME/lib/hg/hgcollapse" +hg clone bb://durin42/histedit/ "$HOME/lib/hg/histedit" +hg clone bb://durin42/hg-git/ "$HOME/lib/hg/hg-git" +hg clone bb://Bill_Barry/hgattic "$HOME/lib/hg/hgattic" +hg clone bb://edgimar/crecord "$HOME/lib/hg/crecord" + +git clone git://github.com/jelmer/dulwich.git "$HOME/lib/dulwich" +ln -s "$HOME/lib/dulwich/dulwich" "$HOME/lib/hg/hg-stable/dulwich" diff -r a244d44b1728 -r ba445956998f bootstrap.sh --- a/bootstrap.sh Fri Apr 13 14:48:15 2012 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,61 +0,0 @@ -#!/bin/bash - -# THIS IS A WORK IN PROGRESS -# BE CAREFUL, DAMMIT - -# Don't forget the SSH keys. -# Setuptools needs to be installed. - -mkdir -p lib/hg -mkdir -p lib/python -mkdir -p lib/virtualenvs -mkdir bin -mkdir src - -hg clone 'http://selenic.com/repo/hg#stable' ~/lib/hg/hg-stable -cd ~/lib/hg/hg-stable -make local -cd -export PATH="$HOME/lib/hg/hg-stable:$PATH" - -hg clone http://bitbucket.org/sjl/dotfiles ~/lib/dotfiles -git clone git://github.com/sjl/oh-my-zsh ~/lib/oh-my-zsh -git clone git://github.com/sjl/z-zsh ~/lib/z - -hg clone http://bitbucket.org/ianb/pip/ ~/lib/python/pip -cd ~/lib/python/pip -sudo python setup.py install -cd - -sudo pip install virtualenv - -hg clone http://bitbucket.org/dhellmann/virtualenvwrapper ~/lib/python/virtualenvwrapper -cd ~/lib/python/virtualenvwrapper -sudo python setup.py install -cd - -ln -s "$HOME/lib/dotfiles/zsh" "$HOME/lib/oh-my-zsh/custom" - -ln -s "$HOME/lib/dotfiles/.ackrc" "$HOME/.ackrc" -ln -s "$HOME/lib/dotfiles/.gitconfig" "$HOME/.gitconfig" -ln -s "$HOME/lib/dotfiles/.hgrc" "$HOME/.hgrc" -ln -s "$HOME/lib/dotfiles/vim" "$HOME/.vim" -ln -s "$HOME/lib/dotfiles/vim/.vimrc" "$HOME/.vimrc" -ln -s "$HOME/lib/dotfiles/.screenrc" "$HOME/.screenrc" - -rm ~/.zshrc -rm ~/.bashrc -rm ~/.bash_profile -ln -s "$HOME/lib/dotfiles/.zshrc" "$HOME/.zshrc" - -hg clone bb://sjl/hg-prompt/ "$HOME/lib/hg/hg-prompt" -hg clone bb://sjl/hg-paste/ "$HOME/lib/hg/hg-paste" -hg clone bb://sjl/hg-review/ "$HOME/src/hg/hg-review" -hg clone bb://ccaughie/hgcollapse/ "$HOME/lib/hg/hgcollapse" -hg clone bb://durin42/histedit/ "$HOME/lib/hg/histedit" -hg clone bb://durin42/hg-git/ "$HOME/lib/hg/hg-git" -hg clone bb://Bill_Barry/hgattic "$HOME/lib/hg/hgattic" -hg clone bb://edgimar/crecord "$HOME/lib/hg/crecord" - -git clone git://github.com/jelmer/dulwich.git "$HOME/lib/dulwich" -ln -s "$HOME/lib/dulwich/dulwich" "$HOME/lib/hg/hg-stable/dulwich"