From 6d094129dca14817e880d8cad0baeab8b4e98973 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 28 May 2022 21:21:19 +0200 Subject: add vim_solarized.sh --- vim_solarized.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 vim_solarized.sh diff --git a/vim_solarized.sh b/vim_solarized.sh new file mode 100755 index 0000000..b6ecc91 --- /dev/null +++ b/vim_solarized.sh @@ -0,0 +1,16 @@ +#!/usr/bin/env bash + +set -o errexit -o nounset -o pipefail + +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 -- cgit v1.2.3