dotfiles

My dotfiles, nothing really interesting to see ...
git clone https://git.onna.be/dotfiles.git
Log | Files | Refs | README

commit 9f3d7b3bbc020355681a59dedb0a0dd32bcd3fde
parent 9635086dfe37cf1e8c2e236df4243348600f968a
Author: Paco Esteban <paco@onna.be>
Date:   Sat, 30 Jun 2018 18:02:38 +0200

simple script to update all nvim plugins at once

Diffstat:
bin/bin/update_vim_plugins.sh | 12++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)

diff --git a/bin/bin/update_vim_plugins.sh b/bin/bin/update_vim_plugins.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +set -euo pipefail +shopt -s nullglob globstar + +PLUGINS_PATH=${1:-"$HOME/.config/nvim/pack/bundle"} + +for p in "$PLUGINS_PATH"/{opt,start}/*; do + echo "Updating --> $p" + cd "$p" || exit 1 + git pull +done