blob: fc5f20d345921a49aae06adba8317a859bafa414 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/usr/bin/env bash
set -o errexit -o nounset -o pipefail
shopt -s inherit_errexit lastpipe
plugins_dir="$HOME/.vim/pack/plugins/start"
name='vim-colors-solarized'
mkdir -p -- "$plugins_dir"
cd -- "$plugins_dir"
if [ -d "$name" ]; then
cd -- "$name"
git pull
else
git clone "https://github.com/altercation/$name.git"
fi
|