From 61eb44592fcb7c8f639112ab1e4760431641dabe Mon Sep 17 00:00:00 2001 From: Bartek Stalewski Date: Mon, 19 Aug 2013 14:09:43 +0200 Subject: [PATCH] Fixed install script. --- install.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index fc7185b..eed97a3 100644 --- a/install.sh +++ b/install.sh @@ -12,10 +12,17 @@ else fi git clone $path ~/.dotfiles cd ~/.dotfiles +rm -rf ~/.vim/bundle/* git submodule init git submodule update +cd vim/bundle/nerdtree +git checkout master +cd ~/.dotfiles cd vim/bundle/powerline -git checkout -b develop origin/develop +git checkout develop +cd ~/.dotfiles +cd dircolors +git checkout master # files @@ -34,7 +41,6 @@ echo "[ -e ~/.zshrc.local ] && source ~/.zshrc.local" >> ~/.zshrc ln -sf ~/.dotfiles/vim ~/.vim ln -sf ~/.vim/rcfiles/vimrc ~/.vimrc ln -sf ~/.vim/rcfiles/gvimrc ~/.gvimrc -rm -rf ~/.vim/bundle/* # .gitignore ln -sf ~/.dotfiles/gitignore ~/.gitignore