helm/editor/vim/install
2016-10-30 14:30:19 +01:00

23 lines
438 B
Bash
Executable file

#!/usr/bin/env bash
case "$OSTYPE" in
darwin*)
brew install make vim
;;
linux*)
if [[ -f /etc/arch-release ]]; then
sudo pacman --noconfirm -S make vim
elif [[ -f /etc/debian_version ]]; then
# TODO
exit 1
fi
;;
esac
if [[ ! -d "$HOME/.vim" ]]
then
git clone --recursive "hlissner/.vim" "$HOME/.vim"
cd "$HOME/.vim"
make install
fi