zsh/PRESTOW

20 lines
456 B
Plaintext
Raw Normal View History

2015-09-05 12:53:01 -04:00
#!/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