mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-11-20 13:11:13 +00:00
20 lines
275 B
Bash
Executable File
20 lines
275 B
Bash
Executable File
#!/bin/zsh
|
|
|
|
set -ex
|
|
|
|
pushd ~/.zprezto
|
|
|
|
git fetch upstream
|
|
git checkout master
|
|
git merge -m "Merge upstream/master" upstream/master
|
|
git submodule update --init --recursive
|
|
|
|
cd contrib
|
|
for dir in $(fd -t directory --exact-depth=1); do
|
|
pushd $dir
|
|
git pull
|
|
popd
|
|
done
|
|
|
|
popd
|