aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/vim_solarized.sh
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-03-04 09:48:07 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-03-04 09:48:57 +0100
commit56dc6027e7225e8e8f965ed87ce2a50a35a9d5b8 (patch)
treee3a3d660b1d1aeb74e0dc025fde9a4ff252f6f47 /vim_solarized.sh
parentvim_solarized.sh: refactoring (diff)
downloadlinux-home-56dc6027e7225e8e8f965ed87ce2a50a35a9d5b8.tar.gz
linux-home-56dc6027e7225e8e8f965ed87ce2a50a35a9d5b8.zip
vim_solarized.sh -> vim_plugins.sh
Diffstat (limited to 'vim_solarized.sh')
-rwxr-xr-xvim_solarized.sh35
1 files changed, 0 insertions, 35 deletions
diff --git a/vim_solarized.sh b/vim_solarized.sh
deleted file mode 100755
index bb7ae77..0000000
--- a/vim_solarized.sh
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/usr/bin/env bash
-
-set -o errexit -o nounset -o pipefail
-shopt -s inherit_errexit lastpipe
-
-plugins_dir="$HOME/.vim/pack/plugins/start"
-readonly plugins_dir
-
-plugins=(
- alteraction/vim-colors-solarized
-)
-
-pull() {
- local plugin
- for plugin in ${plugins[@]+"${plugins[@]}"}; do
- echo "Plugin: $plugin"
-
- local name
- name="${plugin#*/}"
-
- if [ -d "$name" ]; then
- git -C "$name" pull
- else
- git clone "https://github.com/$plugin.git"
- fi
- done
-}
-
-main() {
- mkdir -p -- "$plugins_dir"
- cd -- "$plugins_dir"
- pull
-}
-
-main