From bbde2c4e6bec15375ec3f27c1442a03a4bce356f Mon Sep 17 00:00:00 2001 From: Orien Vandenbergh Date: Thu, 15 Sep 2016 23:36:51 -0600 Subject: [PATCH] Add script to define my workspace --- initialize_environment.sh | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100755 initialize_environment.sh diff --git a/initialize_environment.sh b/initialize_environment.sh new file mode 100755 index 0000000..8fc1ce0 --- /dev/null +++ b/initialize_environment.sh @@ -0,0 +1,34 @@ +#!/bin/bash + +[ -e $HOME/.vimrc ] && rm $HOME/.vimrc +ln -s $(pwd)/vimrc $HOME/.vimrc + +mkdir -p $HOME/.vim/autoload $HOME/.vim/bundle +curl -LSso $HOME/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim + +MODULES="git://github.com/altercation/vim-colors-solarized.git + https://github.com/sheerun/vim-wombat-scheme.git + git://github.com/tpope/vim-fugitive.git + git://github.com/tpope/vim-git.git + https://github.com/tpope/vim-sensible.git + https://github.com/rust-lang/rust.vim.git + https://github.com/pearofducks/ansible-vim.git + https://github.com/airblade/vim-gitgutter + https://github.com/bling/vim-airline + https://github.com/vim-airline/vim-airline-themes + https://github.com/pangloss/vim-javascript + https://github.com/tpope/vim-surround + https://github.com/scrooloose/syntastic + https://github.com/dsolstad/vim-wombat256i.git + https://github.com/jnurmine/Zenburn.git" + +cd $HOME/.vim/bundle +for module in $MODULES; do + git clone --depth=1 $module +done + +mkdir -p $HOME/.zsh +cd $HOME/.zsh + +git clone --depth=1 https://github.com/robbyrussell/oh-my-zsh.git +git clone https://github.com/nichus/zsh-customizations custom