From fda8113e89b2b1ac260a6e300317fc2841290385 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sat, 5 Sep 2015 12:53:01 -0400 Subject: [PATCH] Add PRESTOW to get/update prezto --- PRESTOW | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 PRESTOW diff --git a/PRESTOW b/PRESTOW new file mode 100755 index 0000000..b66de26 --- /dev/null +++ b/PRESTOW @@ -0,0 +1,19 @@ +#!/bin/bash + +[ -d .zprezto ] && firstRun=1 + +echo "Getting prezto" +cd zsh +git submodule init +git submodule update + +echo "Updating .dotfiles/zsh/.zprezto" +cd .zprezto +if [ $firstRun -eq 1 ] +then + git remote set-url origin http://adamgoldsmith.name/cgit/prezto.git + git remote set-url --push origin ssh://adamgoldsmith.name:443/srv/git/prezto.git + git remote add upstream https://github.com/sorin-ionescu/prezto.git +fi +git submodule init +git submodule update