16 lines
310 B
Bash
Executable file
16 lines
310 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
case $OSTYPE in
|
|
darwin*)
|
|
brew install vim
|
|
;;
|
|
linux*)
|
|
if [[ -f /etc/arch-release ]]; then
|
|
sudo pacman --needed --noconfirm -S vim
|
|
elif [[ -f /etc/debian_version ]]; then
|
|
sudo apt-get install -y vim
|
|
fi
|
|
;;
|
|
esac
|
|
|