15 lines
305 B
Bash
Executable File
15 lines
305 B
Bash
Executable File
#!/usr/bin/env bash
|
|
#
|
|
# Install a vim plugin from Git (into start directory for now)
|
|
|
|
set -e
|
|
|
|
if [ -z "$1" ]; then
|
|
echo "Usage: installvimplugin <git url>"
|
|
exit 1
|
|
fi
|
|
|
|
basename=$(basename "$1" .git)
|
|
cd "$HOME/.vim/pack/git-plugins/start"
|
|
git clone https://github.com/dense-analysis/ale.git "$basename"
|