diff options
Diffstat (limited to 'vim_solarized.sh')
-rwxr-xr-x | vim_solarized.sh | 35 |
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 |