Modified install script to first install vim, if it is not found.

This commit is contained in:
Jono Targett 2022-02-27 12:58:24 +10:30
parent d4a8ceaaeb
commit a9890cc3fc

View File

@ -22,6 +22,14 @@ function symlink() {
done done
} }
# Install vim, if it isn't already
if [ ! $(which vim) ]; then
echo "Installing vim..."
sudo apt-get update && sudo apt-get install vim
else
echo "Found vim installation."
fi
# Remove any installed plugins in this dir. Yuck. # Remove any installed plugins in this dir. Yuck.
rm -rf ./.vim/plugged rm -rf ./.vim/plugged