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

26 lines
497 B
Bash
Executable file

#!/bin/bash
command -v nvim >/dev/null && exit
case "$OSTYPE" in
darwin*)
brew tap neovim/neovim
brew install make neovim
;;
linux*)
if [ -f /etc/arch-release ]; then
sudo pacman --noconfirm -S make neovim
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