2016-10-30 06:39:08 -07:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2016-12-24 12:57:44 -08:00
|
|
|
case $OSTYPE in
|
2016-10-30 06:39:08 -07:00
|
|
|
darwin*)
|
|
|
|
brew install vim
|
|
|
|
;;
|
|
|
|
linux*)
|
|
|
|
if [[ -f /etc/arch-release ]]; then
|
2016-12-24 12:57:44 -08:00
|
|
|
sudo pacman --needed --noconfirm -S vim
|
2016-10-30 06:39:08 -07:00
|
|
|
elif [[ -f /etc/debian_version ]]; then
|
|
|
|
sudo apt-get install -y vim
|
|
|
|
fi
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
2017-08-09 06:43:07 -07:00
|
|
|
[[ -f ~/.vimrc ]] || wget -O ~/.vimrc https://raw.githubusercontent.com/hlissner/.vim/master/vimrc.mini
|