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
OLDDIR=$PWD
cd ~/.zprezto
pushd ~/.zprezto
git fetch upstream
git checkout master
git merge -m "Merge upstream/master" upstream/master
git submodule update --init --recursive
cd ~/.zprezto/contrib/fzf-tab
git pull
cd contrib
for dir in $(fd -t directory --exact-depth=1); do
pushd $dir
git pull
popd
done
cd $OLDDIR
popd