1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-20 15:31:11 +00:00
prezto/scripts/update_zprezto

20 lines
275 B
Plaintext
Raw Normal View History

2018-10-28 15:44:19 +00:00
#!/bin/zsh
set -ex
pushd ~/.zprezto
2018-10-28 15:44:19 +00:00
git fetch upstream
git checkout master
2018-11-09 16:21:05 +00:00
git merge -m "Merge upstream/master" upstream/master
2018-10-28 15:44:19 +00:00
git submodule update --init --recursive
cd contrib
for dir in $(fd -t directory --exact-depth=1); do
pushd $dir
git pull
popd
done
2022-04-09 16:18:23 +00:00
popd