Add PRESTOW to get/update prezto

This commit is contained in:
Adam Goldsmith 2015-09-05 12:53:01 -04:00
parent aab73ba6b7
commit fda8113e89
1 changed files with 19 additions and 0 deletions

19
PRESTOW Executable file
View File

@ -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