mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 06:58:01 +00:00
Update the update_script to update all directories under contrib
This commit is contained in:
parent
1b514f0738
commit
10af109421
@ -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
|
||||||
|
for dir in $(fd -t directory --exact-depth=1); do
|
||||||
|
pushd $dir
|
||||||
git pull
|
git pull
|
||||||
|
popd
|
||||||
|
done
|
||||||
|
|
||||||
cd $OLDDIR
|
popd
|
||||||
|
Loading…
Reference in New Issue
Block a user