Skip to content

Commit

Permalink
move
Browse files Browse the repository at this point in the history
--HG--
rename : .ackrc => ackrc
rename : .ctags => ctags
rename : .gitconfig => gitconfig
rename : .hgrc => hgrc
rename : .offlineimaprc => offlinimaprc
rename : .pentadactylrc => pentadactylrc
rename : .urlview => urlview
rename : vim/.vimrc => vim/vimrc
rename : .zshrc => zshrc
  • Loading branch information
sjl committed Apr 13, 2012
1 parent 919f8f7 commit 33ffe47
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 8 deletions.
File renamed without changes.
23 changes: 15 additions & 8 deletions bin/bootstrap.sh
Expand Up @@ -4,6 +4,8 @@

set -e

echo "prerequisites: python git pip dulwich"

function ensure_link {
test -L "$HOME/$2" || ln -s "$HOME/$1" "$HOME/$2"
}
Expand All @@ -13,8 +15,8 @@ mkdir -p ~/lib/virtualenvs
mkdir -p ~/bin
mkdir -p ~/src

test -d ~/.hg-git/ || clone "bb://durin42/hg-git/" "$HOME/.hg-git"
test -d ~/.hg-git/dulwich || git clone "git://github.com/jelmer/dulwich.git" "$HOME/lib/dulwich"
test -d ~/.hg-git/ || hg clone "bb://durin42/hg-git/" "$HOME/.hg-git"
test -d ~/lib/dulwich || git clone "git://github.com/jelmer/dulwich.git" "$HOME/lib/dulwich"
ensure_link "lib/dulwich" "lib/hg/hg-stable/dulwich"

test -d ~/lib/dotfiles || hg clone http://bitbucket.org/sjl/dotfiles ~/lib/dotfiles
Expand All @@ -28,9 +30,14 @@ ensure_link "lib/dotfiles/gitconfig" ".gitconfig"
ensure_link "lib/dotfiles/ackrc" ".ackrc"
ensure_link "lib/dotfiles/zsh" "lib/oh-my-zsh/custom"
ensure_link "lib/dotfiles/zshrc" ".zshrc"

hg clone "bb://sjl/hg-prompt/" "$HOME/lib/dotfiles/mercurial/hg-prompt"
hg clone "bb://ccaughie/hgcollapse/" "$HOME/lib/dotfiles/mercurial/hgcollapse"
hg clone "bb://durin42/histedit/" "$HOME/lib/dotfiles/mercurial/histedit"


ensure_link "lib/dotfiles/weechat" ".weechat"
ensure_link "lib/dotfiles/urlview" ".urlview"
ensure_link "lib/dotfiles/pentadactylrc" ".pentadactylrc"
ensure_link "lib/dotfiles/offlineimaprc" ".offlineimaprc"
ensure_link "lib/dotfiles/mutt" ".mutt"
ensure_link "lib/dotfiles/dotjs" ".js"
ensure_link "lib/dotfiles/dotcss" ".css"
ensure_link "lib/dotfiles/hgignore" ".hgignore"
ensure_link "lib/dotfiles/ctags" ".ctags"

echo completed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 33ffe47

Please sign in to comment.