1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-09 16:01:51 +00:00

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

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