#!/bin/bash command -v nvim >/dev/null || exit if [ -d "$HOME/.vim" ] then cd "$HOME/.vim" make update fi