From fc2ade625583073cbc440c84ef059d5c9c20e00a Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 19 Jun 2015 23:37:38 +0200 Subject: [PATCH] update script: switch to zgen --- bin/update | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/update b/bin/update index 0e956f62..8c6645b2 100755 --- a/bin/update +++ b/bin/update @@ -1,5 +1,7 @@ #!/bin/zsh +set -e + brew update && brew upgrade --all cd "$HOME/.emacs.d" && git pull && make cd "$HOME/.dotfiles" && git pull @@ -19,9 +21,7 @@ if [ -d ~/.pyenv ]; then done fi -if [ -d ~/.zprezto ]; then - cd "$HOME/.zprezto" - git fetch parent - git submodule foreach git checkout master - git submodule foreach git pull +if [ -d ~/.zsh/zgen ]; then + source ~/.zsh/zgen/zgen.zsh + zgen selfupdate fi