helm/editor/vimlite/install

17 lines
322 B
Bash
Executable file

#!/usr/bin/env bash
case "$OSTYPE" in
darwin*)
brew install vim
;;
linux*)
if [[ -f /etc/arch-release ]]; then
sudo pacman --noconfirm -S vim
elif [[ -f /etc/debian_version ]]; then
sudo apt-get install -y vim
exit 1
fi
;;
esac