From 1dfe2888ff46977138a0ab3a5c2abb8319bdf0c6 Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Mon, 5 Apr 2021 09:59:54 +0200 Subject: [PATCH] Add installvimplugin script --- script/installvimplugin | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 script/installvimplugin diff --git a/script/installvimplugin b/script/installvimplugin new file mode 100755 index 0000000..6578cdf --- /dev/null +++ b/script/installvimplugin @@ -0,0 +1,14 @@ +#!/usr/bin/env bash +# +# Install a vim plugin from Git (into start directory for now) + +set -e + +if [ -z "$1" ]; then + echo "Usage: installvimplugin " + exit 1 +fi + +basename=$(basename "$1" .git) +cd "$HOME/.vim/pack/git-plugins/start" +git clone https://github.com/dense-analysis/ale.git "$basename"