1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 11:38:00 +00:00
prezto/scripts/update_zprezto

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