eef01ecd1235

Fixes to bootstrap.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Wed, 16 Jun 2010 21:00:20 -0400
parents 85ea7f03b9be
children 985b6818cbfa
branches/tags (none)
files bootstrap.sh reload_safari.sh

Changes

--- a/bootstrap.sh	Sun Jun 13 02:47:04 2010 -0400
+++ b/bootstrap.sh	Wed Jun 16 21:00:20 2010 -0400
@@ -4,6 +4,7 @@
 # BE CAREFUL, DAMMIT
 
 # Don't forget the SSH keys.
+# Setuptools needs to be installed.
 
 mkdir -p lib/hg
 mkdir -p lib/python
@@ -31,27 +32,32 @@
 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
+sudo pip install rope
+
 hg clone http://bitbucket.org/dhellmann/virtualenvwrapper ~/lib/python/virtualenvwrapper
 cd ~/lib/python/virtualenvwrapper
-sudo python setup.py develop
-cd
-
-hg clone http://bitbucket.org/agr/rope ~/lib/python/rope
-cd ~/lib/python/rope
-sudo python setup.py develop
+sudo python setup.py install
 cd
 
-rm -rf ~lib/oh-my-zsh/custom
-ln -s "$HOME/lib/dotfiles/zsh $HOME/lib/oh-my-zsh/custom"
+rm -rf ~/lib/oh-my-zsh/custom
+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/.vim $HOME/.vim"
-ln -s "$HOME/lib/dotfiles/vim/.vimrc $HOME/.vimrc"
+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/.vim" "$HOME/.vim"
+ln -s "$HOME/lib/dotfiles/vim/.vimrc" "$HOME/.vimrc"
 
 rm ~/.zshrc
-ln -s "$HOME/lib/dotfiles/.zshrc $HOME/.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"
@@ -60,6 +66,7 @@
 hg clone bb://tksoh/hgshelve/ "$HOME/lib/hg/hgshelve"
 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"
 
 git clone git://github.com/jelmer/dulwich.git "$HOME/lib/dulwich"
-ln -s "$HOME/lib/dulwich/dulwich $HOME/lib/hg/hg-stable/dulwich"
+ln -s "$HOME/lib/dulwich/dulwich" "$HOME/lib/hg/hg-stable/dulwich"
--- a/reload_safari.sh	Sun Jun 13 02:47:04 2010 -0400
+++ b/reload_safari.sh	Wed Jun 16 21:00:20 2010 -0400
@@ -1,5 +1,6 @@
 #!/usr/bin/env bash
 
+sleep 1
 echo "reloading..."
 
 osascript  &>/dev/null <<EOF