Modified install script to first install vim, if it is not found.
This commit is contained in:
parent
d4a8ceaaeb
commit
a9890cc3fc
8
install
8
install
@ -22,6 +22,14 @@ function symlink() {
|
||||
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.
|
||||
rm -rf ./.vim/plugged
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user