@ -34,6 +34,13 @@ set -e
# Configure .vimrc
link "$HOME" ".vimrc" "vimrc"
# Download pathogen if it doesn't exist already
VIM_AUTOLOAD=$HOME/.vim/autoload
mkdir -p $VIM_AUTOLOAD
if [ ! -f "$VIM_AUTOLOAD/pathogen.vim" ]; then
curl -LSso $VIM_AUTOLOAD/pathogen.vim https://tpo.pe/pathogen.vim
fi
# Configure Pathogen Plugins
VIM_BUNDLE=$HOME/.vim/bundle
mkdir -p $VIM_BUNDLE
@ -19,11 +19,6 @@ curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools
chmod +x install.sh
$env sh install.sh
# Install pathogen for vim
cd $HOME
mkdir -p $HOME/.vim/autoload $HOME/.vim/bundle
curl -LSso $HOME/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
# Install Other Essential Tools