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:
parent
1b514f0738
commit
10af109421
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user