-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
executable file
·28 lines (19 loc) · 719 Bytes
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash
FILES=".gitconfig .gitignore .tmux.conf .vimrc .zlogin .zprofile .zpreztorc .zshrc .inputrc"
VIM_COLOR_FILES="jellybeans.vim solarized.vim"
DOTFILE_DIR=$(pwd)
git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"
for FILE in $FILES; do
ln -sf $DOTFILE_DIR/$FILE ~/$FILE
done
mkdir -p ~/.vim/colors
for FILE in $VIM_COLOR_FILES; do
ln -sf $DOTFILE_DIR/$FILE ~/.vim/colors/$FILE
done
mkdir ~/.vim-tmp
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
vim +BundleInstall +qall
if [ $SPIN ]; then
sudo apt-get install -o DPkg::Lock::Timeout=600 -y fzy
sudo apt-get install -o DPkg::Lock::Timeout=600 -y silversearcher-ag
fi