Update the update_script to update all directories under contrib

This commit is contained in:
Daniel Carrillo 2023-08-26 20:24:47 +02:00
parent 1b514f0738
commit 10af109421
1 changed files with 8 additions and 5 deletions

View File

@ -2,15 +2,18 @@
set -ex set -ex
OLDDIR=$PWD pushd ~/.zprezto
cd ~/.zprezto
git fetch upstream git fetch upstream
git checkout master git checkout master
git merge -m "Merge upstream/master" upstream/master git merge -m "Merge upstream/master" upstream/master
git submodule update --init --recursive git submodule update --init --recursive
cd ~/.zprezto/contrib/fzf-tab cd contrib
git pull for dir in $(fd -t directory --exact-depth=1); do
pushd $dir
git pull
popd
done
cd $OLDDIR popd